chore: testing pipelines
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Solomon Laing 2026-01-03 12:22:39 +10:30
parent acb24d24e8
commit 9906972232

View File

@ -49,7 +49,6 @@ steps:
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- 'echo -e "Host *\n\tStrictHostKeyChecking no\n\n" >> ~/.ssh/config'
- tar zcf ../inkletblot.com.tar.gz ./public
- scp -o StrictHostKeyChecking=no ../inkletblot.com.tar.gz droneci@$WEBHOST_IP:/var/www/html
- ssh droneci@$WEBHOST_IP "rm -Rf /var/www/html/inkletblot.com_old && mv /var/www/html/inkletblot.com /var/www/html/inkletblot.com_old && mkdir /var/www/html/inkletblot.com && mkdir /var/www/html/inkletblot.com_build && tar zxf /var/www/html/inkletblot.com.tar.gz -C /var/www/html/inkletblot.com_build && mv /var/www/html/inkletblot.com_build/public/* /var/www/html/inkletblot.com/ && rm -Rf /var/www/html/inkletblot.com_build && chmod -R 755 /var/www/html/inkletblot.com && exit"