Skip to content

Commit

Permalink
Use upload cli.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongl committed Sep 4, 2024
1 parent fa6d4d1 commit 19ff513
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 17 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,5 @@ jobs:
files: mpb.zip
generate_release_notes: true
- name: Upload to webstore
uses: mnao305/[email protected]
# https://github.com/fregante/chrome-webstore-upload-keys
with:
file-path: mpb.zip
extension-id: nojpfacijldambjcnpbpneghbaefnlme
client-id: ${{ secrets.CLIENT_ID }}
client-secret: ${{ secrets.CLIENT_SECRET }}
refresh-token: ${{ secrets.REFRESH_TOKEN }}
publish: false
# https://github.com/fregante/chrome-webstore-upload-cli
run: npx chrome-webstore-upload upload --source mpb.zip --extension-id nojpfacijldambjcnpbpneghbaefnlme --client-id ${{ secrets.CLIENT_ID }} --client-secret ${{ secrets.CLIENT_SECRET }} --refresh-token ${{ secrets.REFRESH_TOKEN }}
101 changes: 93 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"typescript": "^5.5.3",
"vite": "^5.0.0",
"vite-plugin-web-extension": "^4.0.0",
"chrome-webstore-upload-cli": "^3.3.1",
"webextension-polyfill": "^0.10.0"
},
"dependencies": {
Expand Down

0 comments on commit 19ff513

Please sign in to comment.