From 7d517da7bd7a44e5b3e3f016ef3c2edc151eb342 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Mon, 14 Sep 2026 23:53:24 +0800 Subject: [PATCH] CI: No Fail w/ Delete Artifact --- .github/workflows/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fc84446d..0c15196c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -203,11 +203,6 @@ jobs: echo "marker_content=${GITHUB_SHA}-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}" >> $GITHUB_OUTPUT # Wait for the artifact to be downloaded before deploying - wait: download_build_artifact - - name: Remove build artifact - uses: geekyeggo/delete-artifact@v6 - background: true - with: - name: build-artifact-${{ github.sha }}-${{ github.run_number }} # Deploy to Cloudflare, GitLab, and GitHub in parallel - name: Upload Dist to GitLab id: deploy_gitlab @@ -266,6 +261,12 @@ jobs: wranglerVersion: ${{ env.WRANGLER_VERSION }} # We wait for GitHub Dist to be deployed before checking its deployment status - wait: upload_dist_to_github + - name: Remove build artifact + uses: geekyeggo/delete-artifact@v6 + background: true + with: + name: build-artifact-${{ github.sha }}-${{ github.run_number }} + failOnError: false - name: Wait for GitHub Pages to serve deployed marker if: steps.upload_dist_to_github.outcome == 'success' id: wait_for_github_pages