Skip to content

Commit

Permalink
Fix issue with deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
bijij committed Mar 19, 2021
1 parent 1f6d25a commit f15869f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Install Required NPM packages
run: |
npm install -g jwtgen
npm install jwtgen

This comment has been minimized.

Copy link
@jaysonmaldlonado1

jaysonmaldlonado1 Apr 19, 2021

jayson maldonado

- name: Create release
uses: actions/create-release@v1
Expand All @@ -36,7 +36,7 @@ jobs:
run: |
git archive -o package.zip HEAD
VERSION_NUMBER=$(jq -r .version manifest.json)
ACCESS_TOKEN=$(jwtgen -a HS256 -s ${CLIENT_SECRET} -c "iss=${CLIENT_ID}" -e 300)
ACCESS_TOKEN=$($(npm bin)/jwtgen -a HS256 -s ${CLIENT_SECRET} -c "iss=${CLIENT_ID}" -e 300)
curl -H "Authorization: JWT ${ACCESS_TOKEN}" -g -XPUT --form "[email protected]" "https://addons.mozilla.org/api/v4/addons/${APP_ID}/versions/${VERSION_NUMBER}/"
- name: Deploy to Chrome

This comment has been minimized.

Copy link
@jaysonmaldlonado1

jaysonmaldlonado1 Apr 19, 2021

jayson maldonado

Expand Down

0 comments on commit f15869f

Please sign in to comment.