Skip to content

Deploy

Deploy #14

Workflow file for this run

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"