deploy 002
This commit is contained in:
parent
d057ac0b8b
commit
049cc80948
2 changed files with 4 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ steps:
|
|||
- which grep
|
||||
- ls -l $(which grep)
|
||||
|
||||
- grep -E ".+" Website/PROD/index.html
|
||||
#- grep -E ".+" Website/PROD/index.html
|
||||
#- grep -E ".+schon .+" Website/PROD/index.html
|
||||
#lokal läuft $busybox grep -E 'schon' Website/PROD/index.html | ????
|
||||
- if grep -E "Team vollständig" Website/PROD/index.html; then echo "Blog Teamseite"; else echo "Webseite Startseite"; fi
|
||||
|
|
@ -84,7 +84,8 @@ steps:
|
|||
- ssh-keyscan -H -p $SSH_PORT $SSH_HOST 2>/dev/null >> ~/.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')"
|
||||
- scp -r -i ~/.ssh/deployKey -P $SSH_PORT Website/PROD/canva/* $SSH_USER@$SSH_HOST:$DOMAIN_FOLDER/$TARGET_PATH/
|
||||
#- scp -r -i ~/.ssh/deployKey -P $SSH_PORT Website/PROD/canva/* $SSH_USER@$SSH_HOST:$DOMAIN_FOLDER/$TARGET_PATH/
|
||||
- scp -r -i ~/.ssh/deployKey -P $SSH_PORT Website/PROD/* $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')"
|
||||
|
||||
- name: log_end_time
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue