From 8016ce40a179e775ac1e08b2f8a3b1f23a499e88 Mon Sep 17 00:00:00 2001 From: Julien Duchesne Date: Tue, 6 Dec 2022 12:02:35 -0500 Subject: [PATCH] Github pages: PR path fix (#794) When DNS is setup in Github pages, the URLs (ex: https://grafana.github.io/tanka/pr-preview/pr-783/) now always redirect to the tanka.dev DNS name So it becomes: https://tanka.dev/pr-preview/pr-783/ Therefore, the path prefix is now wrong Everything else is now running fine without Netlify! --- .github/workflows/publish-page.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-page.yml b/.github/workflows/publish-page.yml index 08e73f5d1..91f7b0303 100644 --- a/.github/workflows/publish-page.yml +++ b/.github/workflows/publish-page.yml @@ -25,8 +25,8 @@ jobs: working-directory: docs env: # Main: https://tanka.dev/ - # PRs: https://grafana.github.io/tanka/pr-preview/pr-{number}/ - PATH_PREFIX: "${{ github.event_name == 'pull_request' && format('/tanka/pr-preview/pr-{0}', github.event.number) || '' }}" + # PRs: https://tanka.dev/pr-preview/pr-{number}/ + PATH_PREFIX: "${{ github.event_name == 'pull_request' && format('/pr-preview/pr-{0}', github.event.number) || '' }}" run: | yarn install yarn build