We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ae4820 commit 314a108Copy full SHA for 314a108
.github/workflows/CI.yml
@@ -1,20 +1,28 @@
1
-name: Build and Deploy
2
-on: [pull_request]
+name: CI
+
3
+on:
4
+ push:
5
+ branches: [ zh-Hans ]
6
+ workflow_dispatch:
7
8
jobs:
9
build-and-deploy:
10
runs-on: ubuntu-latest
-
11
steps:
- - name: Checkout
12
+ - name: Checkout 🛎️
13
uses: actions/checkout@v2
- - name: Install and Build
- uses: actions/setup-node@v2
14
+ with:
15
+ persist-credentials: false
16
17
+ - name: Install and Build 🔧
18
run: |
19
yarn install
20
yarn build
- - name: Deploy
- uses: JamesIves/[email protected]
21
22
+ - name: Deploy 🚀
23
+ uses: JamesIves/[email protected]
24
with:
- branch: master
- folder: build
25
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
+ BRANCH: master
27
+ FOLDER: public
28
+ CLEAN: true
0 commit comments