File tree Expand file tree Collapse file tree 4 files changed +35
-40
lines changed Expand file tree Collapse file tree 4 files changed +35
-40
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy :
10+ name : Deploy
11+ runs-on : ubuntu-latest
12+ permissions :
13+ contents : read
14+ steps :
15+ - uses : actions/checkout@v5
16+ - uses : actions/setup-node@v5
17+ with :
18+ node-version-file : .node-version
19+ - run : npm ci
20+ - run : node --run build
21+ -
uses :
SamKirkland/[email protected] 22+ with :
23+ server : ${{ secrets.FTP_SERVER }}
24+ protocol : ftps
25+ username : ${{ secrets.FTP_USERNAME }}
26+ password : ${{ secrets.FTP_PASSWORD }}
27+ local-dir : ./docs/.vitepress/dist/
28+ server-dir : ${{ secrets.FTP_DIRECTORY }}
Original file line number Diff line number Diff line change 1- name : Continuous Integration
2- on : [push]
1+ name : Lint
2+
3+ on :
4+ push :
35
46jobs :
57 lint :
68 name : Lint
79 runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
812 steps :
913 - uses : actions/checkout@v5
1014 - uses : actions/setup-node@v5
Original file line number Diff line number Diff line change 1+ ErrorDocument 404 /404 .html
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments