From 2ee98bb53e11f266a5fb597d70ba6025979f68bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8B=AE=E5=AD=90=E8=80=97=E8=80=97?= <3116737282@qq.com> Date: Sat, 4 Jan 2025 17:41:08 +0800 Subject: [PATCH] Delete deploy.yml --- .github/workflows/deploy.yml | 42 ------------------------------------ 1 file changed, 42 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 c7b12f8..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: deploying-doc -run-name: Deploying doc — ${{ github.run_id }} -on: - workflow_dispatch: - schedule: - - cron: 30 04 * * 1,4 - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: 🚚 Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - uses: pnpm/action-setup@v4 - name: 🔧Install pnpm - with: - version: 9 - run_install: false - - - name: 🔧Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: 'pnpm' - - - name: 🔧Install dependencies - run: pnpm install - - - name: 🔴Build doc - run: pnpm run docs:build - - - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@v4.3.5 - with: - server: ${{ secrets.FTP_SERVER_NAME }} - username: ${{ secrets.FTP_SERVER_USERNAME }} - password: ${{ secrets.FTP_SERVER_PASSWORD }} - local-dir: ./src/.vuepress/dist/ - server-dir: ./jingji/book/ \ No newline at end of file