File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 6
6
branches :
7
7
- dev
8
8
9
- # This job installs dependencies, builds the book, and pushes it to `gh-pages`
9
+ # This job installs dependencies, builds the book, and pushes it to FTP server
10
10
jobs :
11
+ deploy-landing-page :
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+
16
+ - name : Set up Node
17
+ uses : actions/setup-node@v4
18
+ with :
19
+ node-version : ' latest'
20
+
21
+ - name : Build the landing page
22
+ run : |
23
+ npm run --prefix landing-page build
24
+ working-directory : .
25
+
26
+ # Push the built files to Infomaniak FTP
27
+ - name : 📂 Sync files
28
+ uses :
SamKirkland/[email protected]
29
+ with :
30
+ server : 31826.ftp.infomaniak.com
31
+ username : 31826_elliot
32
+ password : ${{ secrets.FTP_PASSWORD }}
33
+ local-dir : ./landing-pages/public/
34
+ server-dir : web/
35
+
11
36
deploy-book-appr :
12
37
runs-on : ubuntu-latest
13
38
steps :
You can’t perform that action at this time.
0 commit comments