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 }}
|
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 }}
|
||||||
|
|
Reference in New Issue