From 4f16efe7edbe10398064ea738eb64c7b02f398ae Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Sun, 1 Feb 2026 19:13:29 +0100 Subject: [PATCH] ssh key is handled by the job --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 3e54b78..5331b35 100755 --- a/deploy.sh +++ b/deploy.sh @@ -25,7 +25,7 @@ fi # Compress the built website and scp it to the remote host tar -czf httpdocs.tgz -C public . -scp ${SSH_PRIVATE_KEY} httpdocs.tgz ${SSH_USERNAME}${DEPLOYMENT_HOST}:/tmp/httpdocs.tgz +scp httpdocs.tgz ${SSH_USERNAME}${DEPLOYMENT_HOST}:/tmp/httpdocs.tgz # SSH to the remote host, cd to the deployment path, and deploy the website (delete and overwrite everything) ssh ${SSH_PRIVATE_KEY} ${SSH_USERNAME}${DEPLOYMENT_HOST} "DEPLOYMENT_PATH=$DEPLOYMENT_PATH bash" << 'EOF'