Skip to content

fix: 修复切换分类的bug #16

fix: 修复切换分类的bug

fix: 修复切换分类的bug #16

Workflow file for this run

name: ssh deploy
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd /www/wwwroot/wallpaper.shenzjd.com
git pull
pnpm install
pnpm run build
pm2 restart wallpaper.shenzjd.com