Skip to content

Commit 293d96e

Browse files
committed
firefox addon upload
1 parent cdea190 commit 293d96e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/publish.yml

+13
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
jobs:
99
build-and-release:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
repository-projects: write
1115

1216
steps:
1317
- name: Checkout code
@@ -44,3 +48,12 @@ jobs:
4448
asset_path: releases/TubeSnake_${{ github.ref_name }}.xpi
4549
asset_name: TubeSnake_${{ github.ref_name }}.xpi
4650
asset_content_type: application/zip
51+
52+
- name: Upload firefox addon
53+
uses: wdzeng/firefox-addon@v1
54+
with:
55+
addon-guid: '{792c6cee-e45d-4f5b-8584-e4ce5993d3c8}'
56+
xpi-path: releases/TubeSnake_${{ github.ref_name }}.xpi
57+
self-hosted: false
58+
jwt-issuer: ${{ secrets.FIREFOX_JWT_ISSUER }}
59+
jwt-secret: ${{ secrets.FIREFOX_JWT_SECRET }}

manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
],
3030
"browser_specific_settings": {
3131
"gecko": {
32-
32+
"id": "{792c6cee-e45d-4f5b-8584-e4ce5993d3c8}"
3333
}
3434
}
3535
}

0 commit comments

Comments
 (0)