From 19e2eb9816823e2da5c1b36aacd5c1db57c2cf32 Mon Sep 17 00:00:00 2001 From: aslan Date: Mon, 5 Feb 2024 12:51:52 +0300 Subject: [PATCH] fix CI deploy --- .gitea/workflows/php.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/php.yml b/.gitea/workflows/php.yml index af9a01c..4b0a944 100644 --- a/.gitea/workflows/php.yml +++ b/.gitea/workflows/php.yml @@ -73,5 +73,10 @@ jobs: password: ${{ secrets.PASSWORD }} port: ${{ secrets.PORT }} script: | - cd /var/www/test-testabit/ - ls -al + rm -rf temp_for_site/ + mkdir temp_for_site/ + cd temp_for_site/ + git clone http://172.17.254.104/aslan/applicant-site.git . + cp -r . /var/www/test-testabit/ + cd /var/www/test-testabit/ && make setup-test + echo "Job Done!"