Skip to content

Commit

Permalink
Make sure the pr number file name is properly allignt with the deploy…
Browse files Browse the repository at this point in the history
…ment workflow
  • Loading branch information
VeithMetro authored Sep 11, 2024
1 parent 752e4ef commit 1dcc2ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Deploy Documentation Preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 1dcc2ff

Please sign in to comment.