Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
Herobread committed Jul 29, 2024
1 parent 2d66f88 commit a4a6f55
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ jobs:
name: better-studres-chrome
path: chrome_extension.zip

- name: Publish to Chrome Web Store
uses: fregante/chrome-webstore-upload@v1
with:
client_id: ${{ secrets.CHROME_EXTENSION_CLIENT_ID }}
client_secret: ${{ secrets.CHROME_EXTENSION_CLIENT_SECRET }}
refresh_token: ${{ secrets.CHROME_EXTENSION_REFRESH_TOKEN }}
extension_id: kamnhbpjhhhjlbandgpngdnplledombg
source: chrome_extension.zip
env:
WEBSTORE_CLIENT_ID: ${{ secrets.CHROME_EXTENSION_CLIENT_ID }}
WEBSTORE_CLIENT_SECRET: ${{ secrets.CHROME_EXTENSION_CLIENT_SECRET }}
WEBSTORE_REFRESH_TOKEN: ${{ secrets.CHROME_EXTENSION_REFRESH_TOKEN }}
- name: Install webstore cli
run: |-
bun add -g chrome-webstore-upload-cli
- name: Upload step
run: |-
chrome-webstore-upload upload \
--source chrome-extension.zip \
--extension-id kamnhbpjhhhjlbandgpngdnplledombg \
--client-id ${{ secrets.GOOGLE_CLIENT_ID }} \
--client-secret ${{ secrets.GOOGLE_CLIENT_SECRET }} \
--refresh-token ${{ secrets.GOOGLE_REFRESH_TOKEN }}
build-firefox:
name: Build Firefox extension
Expand Down

0 comments on commit a4a6f55

Please sign in to comment.