Skip to content

Commit

Permalink
update github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
naei committed Jul 5, 2021
1 parent 515d0df commit 189e016
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish
name: Publish extension

on:
push:
Expand All @@ -10,10 +10,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: trmcnvn/chrome-addon@v2
- name: Checkout the repository
uses: actions/checkout@v2

- name: Create archive
run: zip -r latest.zip * -x ".*"

- name: Publish to Chrome Web Store
uses: trmcnvn/chrome-addon@v2
with:
extension: plfjbbakjphlkdpcdpodaedhicoaloph
zip: dist/latest.zip
zip: latest.zip
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}
Binary file removed dist/latest.zip
Binary file not shown.

0 comments on commit 189e016

Please sign in to comment.