Skip to content

Update deploy-api.yml #16

Update deploy-api.yml

Update deploy-api.yml #16

Workflow file for this run

name: Pull changes and deploy API
on: [push]
jobs:
build:
name: Build
runs-on: self-hosted
steps:
- name: Executing remote command
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd /home/production/deployed/hasher && git pull
supervisorctl restart integrity-api