File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 77steps :
88 - name : prepare_package
99 image : joomlaprojects/docker-images:packager
10- commands :
11- - mkdir build
12- - cp -r -v archived.html css/ images/ img/ js/ index.html results.html robots.txt 403.html 404.html .htaccess ./build
13-
14- - name : deploy_documentation
15- image : debian:stable-slim
1610 environment :
1711 ssh_password :
1812 from_secret : ssh_password
@@ -21,9 +15,11 @@ steps:
2115 ssh_host :
2216 from_secret : ssh_host
2317 commands :
24- - apt update && apt install -y rclone openssh-client
18+ - mkdir build
19+ - cp -r -v archived.html css/ images/ img/ js/ index.html results.html robots.txt 403.html 404.html .htaccess ./build
2520 - rclone config create api sftp host $ssh_host user $ssh_user pass $ssh_password port 22 use_insecure_cipher true disable_hashcheck true
2621 - rclone copy ./build/ api:/home/api/public_html -v
22+ - /bin/notify
2723
2824trigger :
2925 branch :
9389 fi
9490
9591 - name : deploy_documentation
96- image : debian:stable-slim
92+ image : joomlaprojects/docker-images:packager
9793 environment :
9894 ssh_password :
9995 from_secret : ssh_password
@@ -102,7 +98,6 @@ steps:
10298 ssh_host :
10399 from_secret : ssh_host
104100 commands :
105- - apt update && apt install -y rclone openssh-client
106101 - rclone config create api sftp host $ssh_host user $ssh_user pass $ssh_password port 22 use_insecure_cipher true disable_hashcheck true
107102 - |
108103 if [ "$JTYPE" = "framework" ]; then
@@ -124,6 +119,6 @@ trigger:
124119
125120---
126121kind : signature
127- hmac : 11f8a5c1e97ebecf0c8c666e75df86e84b72e6d9886a4f5139df8cbc6aa52f2d
122+ hmac : f9e4e82552d87a7f0ab4d68fc078ccba4c3ffc2f0d4a7f4155224652dc9fceda
128123
129124...
You can’t perform that action at this time.
0 commit comments