diff --git a/.github/workflows/Deploy Documentation Preview.yml b/.github/workflows/Deploy Documentation Preview.yml index 85e97cf37..50ade94a3 100644 --- a/.github/workflows/Deploy Documentation Preview.yml +++ b/.github/workflows/Deploy Documentation Preview.yml @@ -42,11 +42,11 @@ jobs: # Get PR number - if: ${{ env.mode == 'deploy' }} name: Get PR number (deploy) - run: echo "pr_number=$(cat ./artifacts/preview_site/.pr_number)" >> "$GITHUB_ENV" + run: echo "pr_number=$(cat ./artifacts/preview_site/pr_number)" >> "$GITHUB_ENV" - if: ${{ env.mode == 'clean' }} name: Get PR number (clean) - run: echo "pr_number=$(cat ./artifacts/closed_pr_number/.pr_number)" >> "$GITHUB_ENV" + run: echo "pr_number=$(cat ./artifacts/closed_pr_number/pr_number)" >> "$GITHUB_ENV" # Run deployment - if: ${{ env.mode == 'deploy' }}