File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 11# https://github.com/actions/setup-node
2- name : Node.js CI
2+ name : Build and test
33
44on : [push]
55
66jobs :
7- build :
7+ build_and_test :
88 runs-on : ubuntu-latest
99
1010 steps :
Original file line number Diff line number Diff line change 1+ # Using https://github.com/marketplace/actions/deploy-to-github-pages
2+ # See also https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags
3+ name : Deploy to Github pages
4+
5+ on :
6+ push :
7+ tags :
8+ - v*
9+
10+ jobs :
11+ deploy_pages :
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+ - uses : actions/setup-node@v2-beta
17+ with :
18+ node-version : ' 10'
19+ - run : yarn install --frozen-lockfile
20+ - run : yarn doc
21+ - name : Deploy docs 🚀
22+ uses : JamesIves/github-pages-deploy-action@releases/v3
23+ with :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25+ BRANCH : gh-pages # The branch the action should deploy to.
26+ FOLDER : docs # The folder the action should deploy.
You can’t perform that action at this time.
0 commit comments