Update deploy-api.yml

This commit is contained in:
Vivek Teega 2023-12-16 16:13:53 +05:30 committed by GitHub
parent 95856d1f26
commit f0b7331d69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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