Files
videospeed/.github/workflows/chrome-store-upload.yaml
2020-03-25 22:12:36 -07:00

30 lines
830 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 . -i * -x *.git*
- name: Upload to
uses: trmcnvn/chrome-addon@v2
with:
# extension is only necessary when updating an existing addon,
# omitting it will create a new addon
extension: "nffaoalbilbmmfgbnbgppjihopabppdk"
zip: vscd.zip
client-id: ${{ secrets.CHROME_CLIENT_ID }}
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}