ci: only run action on master branch

This commit is contained in:
Derrick Hammer 2023-08-06 22:48:06 -04:00
parent 9ea94740e3
commit 7902f6a0bc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish to Firefox - name: Publish to Firefox
uses: yayuyokitano/firefox-addon@v0.0.6-alpha uses: yayuyokitano/firefox-addon@v0.0.6-alpha
if: github.ref_name == "master"
with: with:
api_key: ${{ secrets.AMO_ISSUER }} api_key: ${{ secrets.AMO_ISSUER }}
api_secret: ${{ secrets.AMO_SECRET }} api_secret: ${{ secrets.AMO_SECRET }}