File tree Expand file tree Collapse file tree 5 files changed +10935
-7
lines changed Expand file tree Collapse file tree 5 files changed +10935
-7
lines changed Original file line number Diff line number Diff line change 1+ name : website
2+ on :
3+ push :
4+ branches :
5+ - master
6+ workflow_dispatch :
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-18.04
11+ steps :
12+ - uses : actions/checkout@v2
13+ - name : Setup Node.js
14+ uses : actions/setup-node@v2
15+ with :
16+ node-version : 14
17+ - name : Set Env
18+ run : |
19+ echo "CURRENT_VERSION=$(node -p 'require("./package.json").version')" >> $GITHUB_ENV
20+ - name : Install
21+ run : yarn install
22+ - name : Build
23+ run : npm run website -- --metadataversion="${CURRENT_VERSION}"
24+ env :
25+ CURRENT_VERSION : ${{ env.CURRENT_VERSION }}
26+ working-directory : example/
27+ - name : Deploy
28+ uses : peaceiris/actions-gh-pages@v3
29+ with :
30+ github_token : ${{ secrets.GITHUB_TOKEN }}
31+ publish_dir : ./example/dist
Original file line number Diff line number Diff line change 1+ dist /
12/lib
23# ## https://raw.github.com/github/gitignore/408c616ae0ad8f4b8101d8e876b9b67ac6b14059/Node.gitignore
34
Original file line number Diff line number Diff line change 11{
22 "rules": {
3- "preset-jtf-style": {
4- "4.3.1.丸かっこ()": false
5- }
3+ "preset-jtf-style": true
64 }
75}
You can’t perform that action at this time.
0 commit comments