ci: only run action on master branch
This commit is contained in:
parent
9ea94740e3
commit
7902f6a0bc
|
@ -46,6 +46,7 @@ jobs:
|
|||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- name: Publish to Firefox
|
||||
uses: yayuyokitano/firefox-addon@v0.0.6-alpha
|
||||
if: github.ref_name == "master"
|
||||
with:
|
||||
api_key: ${{ secrets.AMO_ISSUER }}
|
||||
api_secret: ${{ secrets.AMO_SECRET }}
|
||||
|
|
Reference in New Issue