Update .gitea/workflows/deploy.yml
Some checks failed
Deploy to Production / deploy (push) Failing after 12m43s

This commit is contained in:
2025-09-27 08:28:56 -05:00
parent 45c6b25b97
commit b1bbae109c

View File

@@ -16,7 +16,7 @@ jobs:
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }} key: ${{ secrets.SSH_KEY }}
script: | script: |
# Clone repo if it doesn't exist # Clone repo if it doesn't exist
if [ ! -d "/var/www/caloriethingy.com/.git" ]; then if [ ! -d "/var/www/caloriethingy.com/.git" ]; then
rm -rf /var/www/caloriethingy.com rm -rf /var/www/caloriethingy.com
git clone https://git.sometimescode.com/cgsmith/caloriethingy.com.git /var/www/caloriethingy.com git clone https://git.sometimescode.com/cgsmith/caloriethingy.com.git /var/www/caloriethingy.com