fixed ci pipelinbe
This commit is contained in:
@@ -83,8 +83,8 @@ steps:
|
|||||||
- export stamp=`date +%s`
|
- export stamp=`date +%s`
|
||||||
- echo $$stamp
|
- echo $$stamp
|
||||||
- sed -i s/__TIMESTAMP__/$$stamp/g frontend/spa.html
|
- sed -i s/__TIMESTAMP__/$$stamp/g frontend/spa.html
|
||||||
- sed -i s/__TIMESTAMP__/$$stamp/g frontend/serviceworker.js
|
#- sed -i s/__TIMESTAMP__/$$stamp/g frontend/serviceworker.js
|
||||||
- cat frontend/serviceworker.js
|
#- cat frontend/serviceworker.js
|
||||||
- cp frontend/spa.html api/templates/spa.html
|
- cp frontend/spa.html api/templates/spa.html
|
||||||
- cat frontend/spa.html
|
- cat frontend/spa.html
|
||||||
|
|
||||||
@@ -120,6 +120,8 @@ steps:
|
|||||||
RSYNC_USER: ""
|
RSYNC_USER: ""
|
||||||
RSYNC_PASS:
|
RSYNC_PASS:
|
||||||
from_secret: rsync_master
|
from_secret: rsync_master
|
||||||
|
# remove if user and pass is set
|
||||||
|
failure: ignore
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache sshpass curl
|
- apk add --no-cache sshpass curl
|
||||||
- scripts/deploy.sh ftp1.webmakers.de $${RSYNC_USER} $${RSYNC_PASS}
|
- scripts/deploy.sh ftp1.webmakers.de $${RSYNC_USER} $${RSYNC_PASS}
|
||||||
|
|||||||
Reference in New Issue
Block a user