Skip to content

Commit

Permalink
GHA: fix PR url
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Oct 1, 2024
1 parent b0da316 commit 98b0d65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
build:
runs-on: ubuntu-latest
outputs:
url: ${{ steps.cloudflare.outputs.url }}
url: ${{ steps.cloudflare.outputs.deployment-url }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:

- name: Comment PR
run: |
PREVIEW_URL=${{ needs.build.outputs.deployment-url }}
PREVIEW_URL=${{ needs.build.outputs.url }}
BRANCH_PREVIEW_URL="https://pr-${{ github.event.inputs.pr_number }}.docs-acq.pages.dev"
BUILD_STATUS=${{ needs.build.result }}
Expand Down Expand Up @@ -149,5 +149,5 @@ jobs:
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
description: "URL: ${{ needs.build.outputs.deployment-url }}"
description: "URL: ${{ needs.build.outputs.url }}"
status: ${{ env.WORKFLOW_CONCLUSION }}

0 comments on commit 98b0d65

Please sign in to comment.