Skip to content

Commit

Permalink
Merge pull request #15 from brenordv/feature/initial-release
Browse files Browse the repository at this point in the history
Updating pipeline.
  • Loading branch information
brenordv authored Jul 14, 2023
2 parents bd1120c + f473d5d commit a95a936
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/publish_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,18 @@ jobs:
with:
name: "tab_saver-${{ needs.prepare.outputs.version }}"

- name: Publish to Firefox Add-ons
uses: RobbieGM/addon-action@v1
- name: Deploy to Firefox Addons
id: addonsDeploy
uses: cardinalby/webext-buildtools-firefox-addons-action@v1
continue-on-error: true
with:
zip: tab_saver-${{ needs.prepare.outputs.version }}.zip
id: ${{ secrets.ADD_ON_ID }}
version: ${{ needs.prepare.outputs.version }}
jwt_issuer: ${{ secrets.FIREFOX_API_KEY }}
jwt_secret: ${{ secrets.FIREFOX_API_SECRET }}
zipFilePath: tab_saver-${{ needs.prepare.outputs.version }}.zip
extensionId: ${{ secrets.FF_EXTENSION_ID }}
jwtIssuer: ${{ secrets.FIREFOX_API_KEY }}
jwtSecret: ${{ secrets.FIREFOX_API_SECRET }}

- name: Abort on upload error
if: |
steps.addonsDeploy.outcome == 'failure' &&
steps.addonsDeploy.outputs.sameVersionAlreadyUploadedError != 'true'
run: exit 1

0 comments on commit a95a936

Please sign in to comment.