File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 99
1010 steps :
1111 - name : Checkout code
12- uses : actions/checkout@v2
12+ uses : actions/checkout@v4
1313
1414 - name : Setup Node.js
15- uses : actions/setup-node@v2
16- with :
17- node-version : 18 # Use Node.js 18 here
15+ uses : actions/setup-node@v4
1816
1917 - name : Install dependencies
2018 run : npm install
19+ working-directory : ./docs
2120
2221 - name : Build site
2322 run : npm run build
23+ working-directory : ./docs
2424
25- - name : Deploy to GitHub Pages
26- uses : peaceiris/actions-gh-pages@v3
25+ - name : Deploy Files
26+ uses :
SamKirkland/[email protected] 2727 with :
28- github_token : ${{ secrets.GITHUB_TOKEN }}
29- publish_dir : ./build
28+ server : ${{ secrets.FTP_HOST }}
29+ username : ${{ secrets.FTP_USERNAME }}
30+ password : ${{ secrets.FTP_PASSWORD }}
31+ local-dir : ./build/
32+
You can’t perform that action at this time.
0 commit comments