Skip to content

Commit

Permalink
Re-order actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Garethp committed Jul 26, 2020
1 parent 4df4cc8 commit da4298a
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,14 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'

- run: npm install
- run: npm build -- --filename="latest.zip"

- uses: trmcnvn/chrome-addon@v1
with:
extension: bhcfpccmjdpjejaahbblpnikkejnkfcj
zip: web-ext-artifacts/latest.zip
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}

- uses: trmcnvn/firefox-addon@v1
with:
Expand All @@ -34,3 +26,12 @@ jobs:
manifest: manifest.json
api-key: ${{ secrets.FIREFOX_API_KEY }}
api-secret: ${{ secrets.FIREFOX_API_SECRET }}

- uses: trmcnvn/chrome-addon@v1
with:
extension: bhcfpccmjdpjejaahbblpnikkejnkfcj
zip: web-ext-artifacts/latest.zip
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}

0 comments on commit da4298a

Please sign in to comment.