startet die Pipeline jetzt auch noch? No3
This commit is contained in:
parent
6851f445f4
commit
97a1126f95
2 changed files with 113 additions and 3 deletions
|
|
@ -2,9 +2,10 @@ when:
|
|||
- event: push
|
||||
branch: feature/*
|
||||
path:
|
||||
include: ['foerbico-projekplan-gantt.md'] # richtig? oder geht "nur" '/**/*gantt.md'?
|
||||
include: ['**/projekt*gan*.md'] # richtig? oder geht "nur" '/**/*gantt.md'?
|
||||
on_empty: false
|
||||
|
||||
#include: ['foerbico-projekplan-gantt.md'] # richtig? oder geht "nur" '/**/*gantt.md'?
|
||||
# #branch: main
|
||||
# path:
|
||||
# include: ['/**/*gantt.md'] # richtig? oder geht "nur" '/**/*gantt.md'? //*.md
|
||||
|
|
@ -41,5 +42,9 @@ 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 foerbico-projekplan-gantt.md $SSH_USER@$SSH_HOST:$DOMAIN_FOLDER/$TARGET_PATH_GANTT/gantt.md
|
||||
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "touch $DOMAIN_FOLDER/Log/time_end_copy_$(date +'%Y-%m-%d_%T')"
|
||||
|
||||
- scp -r -i ~/.ssh/deployKey -P $SSH_PORT Organisation/projektplan-gantt.md $SSH_USER@$SSH_HOST:$DOMAIN_FOLDER/$TARGET_PATH_GANTT/gantt.md
|
||||
|
||||
- ssh -i ~/.ssh/deployKey -p $SSH_PORT $SSH_USER@$SSH_HOST "touch $DOMAIN_FOLDER/Log/time_end_copy_$(date +'%Y-%m-%d_%T')"
|
||||
|
||||
#- scp -r -i ~/.ssh/deployKey -P $SSH_PORT foerbico-projekplan-gantt.md $SSH_USER@$SSH_HOST:$DOMAIN_FOLDER/$TARGET_PATH_GANTT/gantt.md
|
||||
Loading…
Add table
Add a link
Reference in a new issue