File tree Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Expand file tree Collapse file tree 1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change 4
4
branches :
5
5
- master
6
6
jobs :
7
- build-and-deploy :
8
- name : Build & Deploy
7
+ build-and-deploy-1 :
8
+ name : paveloom.github.io
9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout the repository
26
26
branch : gh-pages
27
27
folder : public
28
28
single-commit : true
29
+ build-and-deploy-2 :
30
+ name : paveloom.dev
31
+ runs-on : ubuntu-latest
32
+ steps :
33
+ - name : Checkout the repository
34
+ uses : actions/checkout@v3
35
+ with :
36
+ fetch-depth : 0
37
+ - name : Create the build directory
38
+ run : mkdir public
39
+ - name : Build the site
40
+ uses : docker://paveloom/site
41
+ with :
42
+ args : |
43
+ sh -c "\
44
+ scripts/build.bash \
45
+ https://paveloom.dev \
46
+ https://github.com/paveloom/paveloom.github.io"
47
+ - name : Deploy
48
+ uses :
SamKirkland/[email protected]
49
+ with :
50
+ server : ${{ secrets.FTP_SERVER }}
51
+ username : ${{ secrets.FTP_USERNAME }}
52
+ password : ${{ secrets.FTP_PASSWORD }}
53
+ local-dir : public/
54
+ server-dir : paveloom.dev/public_html/
You can’t perform that action at this time.
0 commit comments