mirror of
https://github.com/zhigang1992/connect.git
synced 2026-04-27 00:14:53 +08:00
fix: publish listed FF extension if master
This commit is contained in:
7
.github/workflows/build-extension.yml
vendored
7
.github/workflows/build-extension.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user