From 129eee37e897abd73d324820c0d9b5fe47cffd90 Mon Sep 17 00:00:00 2001 From: Simone Bortolin Date: Thu, 8 Oct 2026 23:30:46 +0200 Subject: [PATCH] Show the PR preview link as the deploy job's environment URL Co-Authored-By: Claude Opus 5.5 --- .github/workflows/preview-pr.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/preview-pr.yaml b/.github/workflows/preview-pr.yaml index d13c5e50..4e35c168 100644 --- a/.github/workflows/preview-pr.yaml +++ b/.github/workflows/preview-pr.yaml @@ -29,6 +29,10 @@ jobs: runs-on: ubuntu-latest permissions: pull-requests: write + # Shows the preview link on the job and in the PR, like the Pages deploy + environment: + name: preview + url: ${{ steps.preview-pages.outputs.deployment-url }} steps: - name: Download artifact uses: actions/download-artifact@v4