forked from aslan/applicant-site
fix CI deploy
This commit is contained in:
parent
ecc2ccfc8b
commit
b30c3ed2f8
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue