Skip to content

Commit

Permalink
Add action for Chrome release
Browse files Browse the repository at this point in the history
Closes #50
  • Loading branch information
nachtjasmin committed Jul 17, 2023
1 parent 5b473ba commit e89e62a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,17 @@ jobs:
license: OSL-3.0
auth-api-issuer: ${{ secrets.FIREFOX_AUTH_API_ISSUER }}
auth-api-secret: ${{ secrets.FIREFOX_AUTH_API_SECRET }}

release-chrome:
runs-on: ubuntu-latest
needs: package
steps:
- name: Download assets for release
run: gh release download ${{ github.ref }} --pattern "*chrome*" --dir assets
- uses: browser-actions/[email protected]
with:
extension-id: "oocninmajklnpkmenhbfakbjcgahnidk"
extension-path: "assets/protoots-chrome.zip"
oauth-client-id: ${{ secrets.CHROME_OAUTH_CLIENT_ID }}
oauth-client-secret: ${{ secrets.CHROME_OAUTH_CLIENT_SECRET }}
oauth-refresh-token: ${{ secrets.CHROME_OAUTH_REFRESH_TOKEN }}

0 comments on commit e89e62a

Please sign in to comment.