Skip to content

remove vercel dependency #193

remove vercel dependency

remove vercel dependency #193

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ] # or 'master' if that's your main branch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to Server
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd /var/www/valkyrie
git pull
npm install
pm2 reload all || pm2 start server/server.js --name "valkyrie"