From 1dcc2fff964bb285025676e6e87c9457f8fc9b21 Mon Sep 17 00:00:00 2001 From: Mateusz Daniluk <121170681+VeithMetro@users.noreply.github.com> Date: Wed, 11 Sep 2024 10:35:54 +0200 Subject: [PATCH] Make sure the pr number file name is properly allignt with the deployment workflow --- .github/workflows/Deploy Documentation Preview.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' }}