Update .gitea/workflows/deploy.yml
Some checks failed
Deploy to Production / deploy (push) Failing after 6s
Some checks failed
Deploy to Production / deploy (push) Failing after 6s
This commit is contained in:
@@ -18,6 +18,7 @@ jobs:
|
|||||||
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
|
||||||
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
|
||||||
fi
|
fi
|
||||||
cd /var/www/caloriethingy.com
|
cd /var/www/caloriethingy.com
|
||||||
|
|||||||
Reference in New Issue
Block a user