Update deploy-api.yml
This commit is contained in:
parent
95856d1f26
commit
f0b7331d69
5
.github/workflows/deploy-api.yml
vendored
5
.github/workflows/deploy-api.yml
vendored
@ -1,7 +1,6 @@
|
||||
name: Pull changes and deploy API
|
||||
on: [push]
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: self-hosted
|
||||
@ -14,5 +13,5 @@ jobs:
|
||||
password: ${{ secrets.PASSWORD }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: |
|
||||
whoami
|
||||
ls -al
|
||||
cd /home/production/deployed/hasher && git pull
|
||||
supervisorctl restart integrity-api
|
||||
|
||||
Loading…
Reference in New Issue
Block a user