Merge pull request #110 from vibinex/akg/trigger_button_pull_request #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to Chrome Web Store. | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
paths: | |
- 'manifest.json' | |
jobs: | |
Chrome: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Pack extension | |
uses: TheDoctor0/[email protected] | |
with: | |
filename: ./Package.zip | |
exclusions: '.git/* .vscode/* .github/* *.md' | |
- name: Publish to Chrome Webstore | |
uses: SebastienGllmt/chrome-addon@v3 | |
with: | |
extension: jafgelpkkkopeaefadkdjcmnicgpcncc | |
zip: ./Package.zip | |
client-id: ${{ secrets.G_CLIENT_ID }} | |
client-secret: ${{ secrets.G_CLIENT_SECRET }} | |
refresh-token: ${{ secrets.G_REFRESH_TOKEN }} | |
- name: Drop artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: 'Chrome Artifacts' | |
path: ./Package.zip | |