fix: publish listed FF extension if master

This commit is contained in:
Hank Stoever
2020-12-14 14:02:51 -08:00
parent 76a131ce7b
commit 61d9d5ad22

View File

@@ -33,7 +33,14 @@ jobs:
with:
name: connect-extension
path: connect-extension.zip
- name: Sign Production Firefox version
if: github.ref == 'refs/heads/master'
run: yarn web-ext sign --channel=listed
env:
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}
WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }}
- name: Sign Firefox extension
if: github.ref != 'refs/heads/master'
run: yarn web-ext sign --channel=unlisted
env:
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}