mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
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
This commit is contained in:
29
.github/workflows/chrome-store-upload.yaml
vendored
Normal file
29
.github/workflows/chrome-store-upload.yaml
vendored
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
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 }}
|
Reference in New Issue
Block a user