Skip to content

Update VPS

Update VPS #60

Workflow file for this run

name: Update VPS
on:
push:
tags:
- "*"
workflow_dispatch:
jobs:
update_vps:
runs-on: ubuntu-latest
steps:
- name: Connect to vps
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: lili
port: ${{secrets.PORT}}
key: ${{ secrets.SSH_KEY }}
script: |
set PATH $PATH:/home/.local/share/nvm/v20.14.0/bin
nvm use v20.14.0
cd dicelette/
git pull
pnpm i
pnpm run pm2:restart