Compare commits
10 Commits
4eb21bf567
...
85be609dff
| Author | SHA1 | Date |
|---|---|---|
|
|
85be609dff | |
|
|
18d03b51c0 | |
|
|
05b3e6e17c | |
|
|
54f2e6ff4b | |
|
|
32422909b9 | |
|
|
c279ab7a91 | |
|
|
331f1dffc1 | |
|
|
782fffe0b3 | |
|
|
6428a095ce | |
|
|
8573133750 |
|
|
@ -53,7 +53,7 @@ steps:
|
|||
- 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/* $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')"
|
||||
- if ! grep -E "<p>FOERBICO is a research project which " Website/PROD/en/index.html; then ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "cp $DOMAIN_FOLDER/www_stable/en/index.html $DOMAIN_FOLDER/$TARGET_PATH/en/"; fi
|
||||
|
||||
- name: log_end_time
|
||||
image: alpine
|
||||
|
|
|
|||
Loading…
Reference in New Issue