-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(actions): release flow on push
- Loading branch information
1 parent
1f348d1
commit 832179a
Showing
3 changed files
with
63 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Release Chrome Web Store | ||
|
||
on: | ||
push: | ||
tags: | ||
- v*.*.* | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Use Node.js 13.x | ||
uses: actions/setup-node@master | ||
with: | ||
node-version: 13.x | ||
|
||
# - name: Get the version tag | ||
# id: get_version | ||
# run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | ||
|
||
- name: Build extension for Chrome | ||
run: | | ||
npm install | ||
npm run build:chrome | ||
- name: Deploy to Chrome Web Store | ||
uses: trmcnvn/chrome-addon@v1 | ||
with: | ||
extension: kkoccljoocknljaljhpifcnkmillmilo | ||
zip: zip/chrome.zip | ||
client-id: ${{ secrets.CHROME_CLIENT_ID }} | ||
client-secret: ${{ secrets.CHROME_CLIENT_SECRET }} | ||
refresh-token: ${{ secrets.CHROME_REFRESH_TOKEN }} | ||
env: | ||
CI: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters