Skip to content

publish-firefox

publish-firefox #27

Workflow file for this run

name: publish-firefox
on:
workflow_dispatch:
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
environment: cd
steps:
- uses: robinraju/release-downloader@a96f54c1b5f5e09e47d9504526e96febd949d4c2 # [email protected]
with:
tag: ${{ github.ref_name }}
zipBall: true
fileName: "*"
- name: Deploy to Firefox Addons
id: addonsDeploy
uses: cardinalby/webext-buildtools-firefox-addons-action@987e338100095280ec8daf942e5640aeb55d3647 # [email protected]
continue-on-error: true
with:
zipFilePath: rikaitan-firefox.zip
sourcesZipFilePath: rikaitan-${{ github.ref_name }}.zip
extensionId: ${{ secrets.FF_EXTENSION_ID }}
jwtIssuer: ${{ secrets.FF_JWT_ISSUER }}
jwtSecret: ${{ secrets.FF_JWT_SECRET }}
- name: Abort on upload error
if: |
steps.addonsDeploy.outcome == 'failure' &&
steps.addonsDeploy.outputs.sameVersionAlreadyUploadedError != 'true' &&
steps.addonsDeploy.outputs.timeoutError != 'true'
run: exit 1