From 6e9d1266f82b64d53fe35cfb662242a180baa56f Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 23 Jul 2026 00:43:38 +0800 Subject: ci(ci): Move .temp cleanup closer to deployment step --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b861c2..71b63ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,9 +85,6 @@ jobs: - name: Install nightly toolchain run: rustup toolchain install nightly - - name: Delete .temp directory before deployment - run: rm -rf .temp - - name: Build API docs run: cargo +nightly run --manifest-path .run/Cargo.toml --bin deploy-api-docs -- --docsrs @@ -97,12 +94,17 @@ jobs: - name: Run cov-test run: cargo run --manifest-path .run/Cargo.toml --bin cov-test + - name: Delete .temp directory before deployment + run: rm -rf .temp + - name: Setup Pages uses: actions/configure-pages@v5 + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: path: "." + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v5 -- cgit