Skip to content

Commit 48fcebc

Browse files
authored
Update main.yml
1 parent 1c59f48 commit 48fcebc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,14 @@ jobs:
5555
mv ./new_manifest.json ./dist/LeetcodeSessionManager/manifest.json
5656
cd ./dist/LeetcodeSessionManager
5757
zip -r ../../LeetcodeSessionManager-${{ github.event.inputs.tag }}.zip .
58-
58+
59+
# Runs a set of commands using the runners shell
60+
- name: Release to Mozilla Amo
61+
if: ${{ github.event_name == 'workflow_dispatch' }}
62+
run: |
63+
cd ./dist/LeetcodeSessionManager
64+
web-ext sign --api-key ${{ secrets.FIREFOX_API_KEY }} --api-secret ${{ secrets.FIREFOX_API_SECRET }} --channel listed --id ${{ secrets.FIREFOX_API_ID }} || true
65+
5966
- name: 'Create GitHub Release'
6067
uses: softprops/action-gh-release@v1
6168
if: ${{ github.event_name == 'workflow_dispatch' }}

0 commit comments

Comments
 (0)