fix deploy
Tests & Lint & Deploy to Railway / deploy (push) Blocked by required conditions Details
Tests & Lint & Deploy to Railway / build (20.x, 8.2) (push) Has been cancelled Details

This commit is contained in:
aslan 2024-02-05 11:39:12 +03:00
parent 355d24f0ee
commit 6ccbac1ec2
1 changed files with 17 additions and 0 deletions

View File

@ -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