From 8655724ecbc6cc6040390546264721c23e7f99b3 Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 6 Aug 2024 13:48:48 -0700 Subject: [PATCH] Fix: Preview comment url --- .github/workflows/previews-cf.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/previews-cf.yml b/.github/workflows/previews-cf.yml index 52becbf51..cd96a753e 100644 --- a/.github/workflows/previews-cf.yml +++ b/.github/workflows/previews-cf.yml @@ -5,6 +5,7 @@ on: env: PAGES_PROJECT_NAME: optimizer + PAGES_PROJECT_URL_SLUG: discretize-gear-optimizer NODE_VERSION: 18 jobs: @@ -96,6 +97,6 @@ jobs: | ----------------------- | - | | **Last commit:** | ${{ github.event.pull_request.head.sha || github.event.workflow_run.head_sha || github.sha }} | | **Preview URL**: | ${{ steps.pages-action.outputs.url }} | - | **Branch Preview URL**: | https://${{ github.head_ref || github.ref_name }}.${{ env.PAGES_PROJECT_NAME }}.pages.dev | + | **Branch Preview URL**: | https://${{ github.head_ref || github.ref_name }}.${{ env.PAGES_PROJECT_URL_SLUG }}.pages.dev | comment_tag: deployment mode: upsert