From deac8a77e9416e4768876c01c49e5222c2b97085 Mon Sep 17 00:00:00 2001 From: zhuyuan-bot Date: Fri, 24 Apr 2026 14:56:42 +0000 Subject: [PATCH] Revert "Create deploy.yml" This reverts commit eccc7bc0a585c215e60fc67a6a3468bd110f3981. --- .github/workflows/deploy.yml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 2aa17a8b..00000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: 部署秋秋的家 - -on: - push: - branches: [ main ] - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: 拉取代码 - uses: actions/checkout@v3 - - - name: 部署到服务器 - uses: appleboy/ssh-action@master - with: - host: $ secrets.ZZ_SERVER_HOST - username: $ secrets.ZZ_SERVER_USER - key: $ secrets.ZZ_SERVER_KEY - script: | - cd $ secrets.ZZ_SERVER_PATH /qiuqiu || mkdir -p $ secrets.ZZ_SERVER_PATH /qiuqiu && cd $ secrets.ZZ_SERVER_PATH /qiuqiu - git pull origin main || git clone https://github.com/zhizhi200271/guanghulab.git . - npm install - export ZZ_LLM_API_KEY=$ secrets.ZZ_LLM_API_KEY - export ZZ_LLM_BASE_URL=$ secrets.ZZ_LLM_BASE_URL - pm2 restart qiuqiu || pm2 start server.js --name qiuqiu --env production - pm2 save - echo "🍂 秋秋的家部署完成!"