From e95dc850f3e715219cf9e0651cd53f63b79e0e11 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Thu, 18 Nov 2021 16:12:31 -0800 Subject: [PATCH] .github: Fix task skipping --- .github/workflows/manual-stable.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manual-stable.yml b/.github/workflows/manual-stable.yml index 2f7d18e..39a9e3e 100644 --- a/.github/workflows/manual-stable.yml +++ b/.github/workflows/manual-stable.yml @@ -51,7 +51,7 @@ jobs: # Ugly hack so it has permission to delete the worktree afterwards - name: Copy redirect farm run: cp --no-preserve=mode -r out-redirectFarm/ redirect-farm/ - if: ${{ success() }} + if: ${{ env.api_version == env.LATEST_STABLE_API }} - name: Deploy redirect farm uses: JamesIves/github-pages-deploy-action@4.1.5 @@ -59,4 +59,4 @@ jobs: branch: gh-pages folder: redirect-farm target-folder: stable - if: ${{ success() }} + if: ${{ env.api_version == env.LATEST_STABLE_API }}