and now the build passes with zero errors
All checks were successful
Deploy website on production server when committing on main / test (push) Successful in 9s
All checks were successful
Deploy website on production server when committing on main / test (push) Successful in 9s
(until I shit my pants again with some other shenanigans)
This commit is contained in:
parent
ec6bbafb2e
commit
126bd66ddb
@ -29,11 +29,6 @@ if [ -z "${DEPLOYMENT_HOST}" ] || [ -z "${DEPLOYMENT_PATH}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "${SSH_PRIVATE_KEY}"
|
||||
echo "${SSH_USERNAME}"
|
||||
echo "${DEPLOYMENT_HOST}"
|
||||
echo "${DEPLOYMENT_PATH}"
|
||||
|
||||
tar -czf httpdocs.tgz -C public .
|
||||
scp -o StrictHostKeyChecking=no ${SSH_PRIVATE_KEY} httpdocs.tgz ${SSH_USERNAME}${DEPLOYMENT_HOST}:/tmp/httpdocs.tgz
|
||||
ssh -o StrictHostKeyChecking=no ${SSH_PRIVATE_KEY} ${SSH_USERNAME}${DEPLOYMENT_HOST} "DEPLOYMENT_PATH=$DEPLOYMENT_PATH bash" << 'EOF'
|
||||
|
Loading…
Reference in New Issue
Block a user