fix CI deploy

This commit is contained in:
aslan 2024-02-05 13:05:07 +03:00
parent ecc2ccfc8b
commit b30c3ed2f8
1 changed files with 8 additions and 7 deletions

View File

@ -73,10 +73,11 @@ jobs:
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }} port: ${{ secrets.PORT }}
script: | script: |
rm -rf temp_for_site/ # rm -rf temp_for_site/
mkdir temp_for_site/ # mkdir temp_for_site/
cd temp_for_site/ # cd temp_for_site/
git clone http://172.17.254.104/aslan/applicant-site.git . # git clone http://172.17.254.104/aslan/applicant-site.git .
cp -r . /var/www/test-testabit/ # cp -r . /var/www/test-testabit/
cd /var/www/test-testabit/ && make setup-test # cd /var/www/test-testabit/ && make setup-test
echo "Job Done!" # echo "Job Done!"
cd /var/www/test-testabit/ && git fetch && make setup-test