mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00

* Trimmed trailing whitespace * Fixed erroneous newline at beginning of blacklist * Fixed erroneous instructions for adding remote in contribution guide (Fixes #586)
30 lines
830 B
YAML
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@v1
|
|
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 }}
|