Skip to content

Commit

Permalink
Revert "Delete deploy.yml"
Browse files Browse the repository at this point in the history
This reverts commit d1e8200.
  • Loading branch information
ted423 committed Nov 27, 2022
1 parent d1e8200 commit 551dc8b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Publish to Chrome Web Store
# 创建新 release 时自动发布到 Chrome Web Store
on:
release:
types:
- created
jobs:
publish:
name: Checkout & Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master

- name: Deploy
uses: borales/actions-yarn@master
env:
CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
CRX_PRIVATE_KEY: ${{ secrets.CRX_PRIVATE_KEY }}
with:
cmd: deploy

0 comments on commit 551dc8b

Please sign in to comment.