Skip to content
This repository was archived by the owner on Aug 28, 2021. It is now read-only.

Commit 4121a0c

Browse files
authored
[feat/github-action]: deploy to web store
1 parent 326f415 commit 4121a0c

2 files changed

Lines changed: 25 additions & 2 deletions

File tree

.github/workflows/Build-and-Deploy.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
jobs:
8+
build:
9+
name: Deploy
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Repo
13+
uses: actions/checkout@master
14+
- name: Zip Folder
15+
uses: montudor/action-zip@v0.1.0
16+
with:
17+
args: zip -qq -r ./release.zip ./app
18+
- name: Publish to Web Store
19+
uses: trmcnvn/chrome-addon@v2
20+
with:
21+
extension: pgkfjobhhfckamidemkddfnnkknomobe
22+
zip: release.zip
23+
client-id: ${{ secrets.CHROME_CLIENT_ID }}
24+
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }}
25+
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }}

0 commit comments

Comments
 (0)