Files
videospeed/.github/workflows/chrome-store-upload.yaml
deef eb4d2b9968 Create Github Action to upload to chrome web store on version tagging (#555)
* Create Github Action to upload to chrome web store on version tagging
2019-12-23 13:06:41 -05:00

30 lines
821 B
YAML

name: Upload To Chrome Web Store
# This workflow is triggered on pushes to the repository.
on:
push:
tags:
- v**
jobs:
build:
name: Upload
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v1
- name: zip
uses: montudor/action-zip@v0.1.0
with:
args: zip -r ./vscd.zip *
- name: Upload to
uses: trmcnvn/chrome-addon@v1
with:
# extension is only necessary when updating an existing addon,
# omitting it will create a new addon
extension: video-speed-controller
zip: vscd.zip
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}