File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # FINAL VERSION: .github/workflows/deploy.yml
2
+
3
+ name : Build and Deploy Docusaurus Site
4
+
5
+ on :
6
+ push :
7
+ branches :
8
+ - main
9
+
10
+ jobs :
11
+ build-and-deploy :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Checkout Code
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Set up Node.js
18
+ uses : actions/setup-node@v4
19
+ with :
20
+ node-version : ' 18'
21
+ cache : ' npm'
22
+
23
+ - name : Install and Build
24
+ run : |
25
+ npm install
26
+ npm run build
27
+
28
+ - name : Deploy via FTPS
29
+ uses :
SamKirkland/[email protected]
30
+ with :
31
+ server : ${{ secrets.FTP_HOST }}
32
+ username : ${{ secrets.FTP_USER }}
33
+ password : ${{ secrets.FTP_PASS }}
34
+ local-dir : ./build/
35
+ server-dir : /dev.objectbox.io/ # <-- This is the updated path
36
+ protocol : ftps
37
+ port : 21
38
+ security : strict
You can’t perform that action at this time.
0 commit comments