forked from aslan/applicant-site
fix CI
This commit is contained in:
parent
b43e602fab
commit
730573b1fe
|
@ -59,21 +59,21 @@ jobs:
|
|||
- name: Check tests
|
||||
run: make test
|
||||
|
||||
deploy:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: deploy to test server
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: |
|
||||
cd /var/www/test-testabit/
|
||||
git stash
|
||||
git pull --rebase
|
||||
git stash clear
|
||||
make setup-test
|
||||
# deploy:
|
||||
# needs: build
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: deploy to test server
|
||||
# uses: appleboy/ssh-action@v1.0.3
|
||||
#
|
||||
# with:
|
||||
# host: ${{ secrets.HOST }}
|
||||
# username: ${{ secrets.USERNAME }}
|
||||
# password: ${{ secrets.PASSWORD }}
|
||||
# port: ${{ secrets.PORT }}
|
||||
# script: |
|
||||
# cd /var/www/test-testabit/
|
||||
# git stash
|
||||
# git pull --rebase
|
||||
# git stash clear
|
||||
# make setup-test
|
||||
|
|
Loading…
Reference in New Issue