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 name: Pull changes and deploy API
on: [push] on: [push]
jobs: jobs:
build: build:
name: Build name: Build
runs-on: self-hosted runs-on: self-hosted
@ -14,5 +13,5 @@ jobs:
password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }} port: ${{ secrets.PORT }}
script: | script: |
whoami cd /home/production/deployed/hasher && git pull
ls -al supervisorctl restart integrity-api