File tree Expand file tree Collapse file tree 3 files changed +39
-15
lines changed Expand file tree Collapse file tree 3 files changed +39
-15
lines changed Original file line number Diff line number Diff line change
1
+ name : Master branch deploy
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+
10
+ jobs :
11
+ build_deploy :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@master
15
+ - run : npm install
16
+ - run : npm run build
17
+ - name : Deploy
18
+ uses : peaceiris/actions-gh-pages@v3
19
+ with :
20
+ PUBLISH_DIR : _site
21
+ PUBLISH_BRANCH : gh-pages
22
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Manual deploy
2
+ on :
3
+ workflow_dispatch
4
+
5
+ jobs :
6
+ build_deploy :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@master
10
+ - run : npm install
11
+ - run : npm run build
12
+ - name : Deploy
13
+ uses : peaceiris/actions-gh-pages@v3
14
+ with :
15
+ PUBLISH_DIR : _site
16
+ PUBLISH_BRANCH : gh-pages
17
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments