diff --git a/.github/workflows/Build Documentation Preview.yml b/.github/workflows/Build Documentation Preview.yml index b989ffbb3..4f4dfb1d2 100644 --- a/.github/workflows/Build Documentation Preview.yml +++ b/.github/workflows/Build Documentation Preview.yml @@ -30,7 +30,7 @@ jobs: python-version: 3.x - run: pip install mkdocs-material - run: mkdocs build - - run: echo "${{ github.event.number }}" >> ./site/.pr_number + - run: echo "${{ github.event.number }}" >> ./site/pr_number - name : Upload preview site artifact uses : actions/upload-artifact@v4 with: @@ -42,7 +42,7 @@ jobs: runs-on: ubuntu-latest steps: - run: mkdir pr_tmp - - run: echo "${{ github.event.number }}" >> ./pr_tmp/.pr_number + - run: echo "${{ github.event.number }}" >> ./pr_tmp/pr_number - uses : actions/upload-artifact@v4 with: name: closed_pr_number 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' }}