Fix variable names
This commit is contained in:
parent
8cb4ccaf1d
commit
90e20d750e
@ -1,10 +1,10 @@
|
||||
#!/bin/sh -l
|
||||
|
||||
LOCAL_PATH="$1"
|
||||
REMOTE_PATH="$2"
|
||||
DEPLOY_PATH="$2"
|
||||
|
||||
env
|
||||
|
||||
echo rsync -hrz --delete -C --exclude=".*" -e ssh "$LOCAL_PATH" "deploy.sixohthree.com:/tmp/gitea_${GITEA_RUN_NUMBER}_${GITEA_SHA}"
|
||||
echo ssh deploy.sixohthree.com "dsh -M -c -r ssh -g webs -- rsync -hvrz --delete -C -e ssh deploy.sixohthree.com:/tmp/gitea_${GITEA_RUN_NUMBER}_${GITEA_SHA}/ $REMOTE_PATH"
|
||||
echo ssh deploy.sixohthree.com "rm -rf /tmp/gitea_${GITEA_RUN_NUMBER}_${GITEA_SHA}"
|
||||
echo rsync -hrz --delete -C --exclude=".*" -e ssh "$LOCAL_PATH" "deploy.sixohthree.com:/tmp/gitea_${GITHUB_RUN_NUMBER}_${GITHUB_SHA}"
|
||||
echo ssh deploy.sixohthree.com "dsh -M -c -r ssh -g webs -- rsync -hvrz --delete -C -e ssh deploy.sixohthree.com:/tmp/gitea_${GITHUB_RUN_NUMBER}_${GITHUB_SHA}/ $DEPLOY_PATH"
|
||||
echo ssh deploy.sixohthree.com "rm -rf /tmp/gitea_${GITHUB_RUN_NUMBER}_${GITHUB_SHA}"
|
||||
|
Loading…
Reference in New Issue
Block a user