aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2020-10-10 01:11:11 -0700
committerGravatar Tom Willemse2020-10-10 01:11:11 -0700
commit4a92c675efd1ec79fb79fec5f5f030501cc90fe5 (patch)
treef80c74957749ce5aafba88db5e1038972847419a
parent0c0c1602e41505f9c2b0d23717ba5d65099675f0 (diff)
downloadnew-ryuslash.org-4a92c675efd1ec79fb79fec5f5f030501cc90fe5.tar.gz
new-ryuslash.org-4a92c675efd1ec79fb79fec5f5f030501cc90fe5.zip
Fix upload location
When using rrsync the directory it restricts you to becomes the base directory you see.
-rw-r--r--Jenkinsfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index 7a8deec..5573a1c 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -48,7 +48,7 @@ pipeline {
withCredentials([file(credentialsId: 'ryuslash.org-deploy-key-2', variable: 'KEY_FILE'),
file(credentialsId: 'ryuslash-known-hosts', variable: 'KNOWN_HOSTS_FILE')]) {
- sh 'rsync -e "ssh -p 4511 -o \\"UserKnownHostsFile $KNOWN_HOSTS_FILE\\" -i $KEY_FILE" -v -c -r --delete public/ "site@ryuslash.org:public_html/"'
+ sh 'rsync -e "ssh -p 4511 -o \\"UserKnownHostsFile $KNOWN_HOSTS_FILE\\" -i $KEY_FILE" -v -c -r --delete public/ "site@ryuslash.org:"'
}
}
}