-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from simwai/dev
ci: 👷 Another try to fix the GitHub release action
- Loading branch information
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,10 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "simwai" | ||
- name: Set up Git to use PAT | ||
run: | | ||
git remote set-url origin https://x-access-token:${{ secrets.TOKEN }}@github.com/simwai/referral-link-inserter.git | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
|
@@ -30,13 +34,8 @@ jobs: | |
|
||
- name: Create Release ZIP | ||
run: npm run-script release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN }} | ||
|
||
|
||
- name: Create Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: referral-link-inserter.zip | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN }} |