.github: Fix task skipping

This commit is contained in:
Zhaofeng Li 2021-11-18 16:12:31 -08:00
parent 8954af0571
commit e95dc850f3

View file

@ -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 }}