Update .gitea/workflows/deploy.yml
Some checks failed
Deploy to Production / deploy (push) Failing after 12m43s
Some checks failed
Deploy to Production / deploy (push) Failing after 12m43s
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user