fixed ci pipelinbe

This commit is contained in:
Sebastian Frank 2023-02-21 13:04:26 +00:00
parent fdb96f3a86
commit 0245b0a210

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