Skip to content

Update VPS

Update VPS #10

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: ubuntu
password: ${{ secrets.PASSWORD }}
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 restart