File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 9
9
10
10
steps :
11
11
- name : Checkout code
12
- uses : actions/checkout@v2
12
+ uses : actions/checkout@v4
13
13
14
14
- 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
18
16
19
17
- name : Install dependencies
20
18
run : npm install
19
+ working-directory : ./docs
21
20
22
21
- name : Build site
23
22
run : npm run build
23
+ working-directory : ./docs
24
24
25
- - name : Deploy to GitHub Pages
26
- uses : peaceiris/actions-gh-pages@v3
25
+ - name : Deploy Files
26
+ uses : SamKirkland/FTP-Deploy-Action@v4.3.4
27
27
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