Skip to content

Commit 10ea578

Browse files
committed
chore(cd): add chrome store upload workflow
credits to videospeed extension
1 parent 4e34cd4 commit 10ea578

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Upload To Chrome Web Store
2+
# This workflow is triggered on pushes to the repository.
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
jobs:
8+
build:
9+
name: Upload
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: checkout
13+
uses: actions/checkout@v1
14+
15+
- name: zip
16+
uses: montudor/[email protected]
17+
with:
18+
args: zip -r ./extension.zip . -i * -x *.git*
19+
20+
- name: Upload to
21+
uses: trmcnvn/chrome-addon@v1
22+
with:
23+
# extension is only necessary when updating an existing addon,
24+
# omitting it will create a new addon
25+
extension: "elpfmfdcigaklhenpknoifgfcfnefkdf"
26+
zip: extension.zip
27+
client-id: ${{ secrets.CHROME_CLIENT_ID }}
28+
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
29+
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}

publish.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)