[init]: Add Source dir parameter

This commit is contained in:
Dragan Filipovic 2019-09-25 23:24:25 +02:00
parent 65ac047ad6
commit 544c80dc4a
3 changed files with 12 additions and 15 deletions

View file

@ -10,4 +10,4 @@ chmod 600 "$SSH_PATH/deploy_key"
# Do deployment
sh -c "rsync $1 -e 'ssh -i $SSH_PATH/deploy_key -o StrictHostKeyChecking=no' $2 $GITHUB_WORKSPACE/ $3"
sh -c "rsync $1 -e 'ssh -i $SSH_PATH/deploy_key -o StrictHostKeyChecking=no' $2 $GITHUB_WORKSPACE/$3 $4"