Add healthcheck endpoint #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
paths-ignore: | |
- '.github/**' | |
branches: | |
- main | |
workflow_dispatch: | |
# Jobs | |
jobs: | |
Update: | |
runs-on: self-hosted | |
steps: | |
- name: Deploy new code, install dependencies and start Advance | |
run: ssh [email protected] "cd ~/Advance && git stash && git pull && npm i && pm2 restart advance && pm2 save" |