vielleicht wird nun die Skript-Variable ausgewertet
Änderung über die Web-Oberfläche, aber nun fehlt eine Änderung unterhalb von "sb"
This commit is contained in:
parent
0e5c2acbf2
commit
702bce5e6b
|
@ -9,7 +9,7 @@ steps:
|
||||||
- name: log_start_time
|
- name: log_start_time
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- date +"%Y-%m-%d_%T_%N"
|
- date +'%Y-%m-%d_%T_%N'
|
||||||
|
|
||||||
- name: build_by_hugo
|
- name: build_by_hugo
|
||||||
image: hugomods/hugo
|
image: hugomods/hugo
|
||||||
|
@ -40,6 +40,6 @@ steps:
|
||||||
- chmod 600 ~/.ssh/deployKey
|
- chmod 600 ~/.ssh/deployKey
|
||||||
- ssh-keyscan -H -p $SSH_PORT $SSH_HOST 2>/dev/null >> ~/.ssh/known_hosts
|
- ssh-keyscan -H -p $SSH_PORT $SSH_HOST 2>/dev/null >> ~/.ssh/known_hosts
|
||||||
- chmod 600 ~/.ssh/known_hosts
|
- chmod 600 ~/.ssh/known_hosts
|
||||||
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST 'touch $DOMAIN_FOLDER/log/time_begin_copy_$(date +"%Y-%m-%d_%T_%N")'
|
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "touch $DOMAIN_FOLDER/log/time_begin_copy_$(date +'%Y-%m-%d_%T_%N')"
|
||||||
- scp -r -i ~/.ssh/deployKey -P $SSH_PORT sb/public/* $SSH_USER@$SSH_HOST:$DOMAIN_FOLDER/$TARGET_PATH/
|
- scp -r -i ~/.ssh/deployKey -P $SSH_PORT sb/public/* $SSH_USER@$SSH_HOST:$DOMAIN_FOLDER/$TARGET_PATH/
|
||||||
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST 'touch $DOMAIN_FOLDER/log/time_end_copy_$(date +"%Y-%m-%d_%T_%N")'
|
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "touch $DOMAIN_FOLDER/log/time_end_copy_$(date +'%Y-%m-%d_%T_%N')"
|
Loading…
Reference in a new issue