fix deploy
This commit is contained in:
parent
355d24f0ee
commit
6ccbac1ec2
|
@ -59,3 +59,20 @@ jobs:
|
||||||
|
|
||||||
- name: Check tests
|
- name: Check tests
|
||||||
run: make test
|
run: make test
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
use: appleboy/ssh-action@v1.0.3
|
||||||
|
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
password: ${{ secrets.PASSWORD }}
|
||||||
|
port: ${{ secrets.PORT }}
|
||||||
|
script: whoami
|
||||||
|
|
||||||
|
- name: git pull
|
||||||
|
run: cd /var/www/test-testabit && git pull
|
||||||
|
|
Loading…
Reference in New Issue