From 9ae8fab4d98d2b146ee9517e3cc704e98826dd4e Mon Sep 17 00:00:00 2001 From: Kingdon Barrett Date: Mon, 21 Aug 2023 15:35:55 -0400 Subject: [PATCH] update test to point at fluxcd/website#1630 Signed-off-by: Kingdon Barrett --- .github/workflows/pull-request.yml | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 8078c3f..bacb396 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -24,6 +24,6 @@ jobs: uses: ./ # say instead "uses: kingdonb/link-checker-gpt@main" or @v1 with: productionDomain: fluxcd.io - previewDomain: deploy-preview-1573--fluxcd.netlify.app # usually: deploy-preview-${{ github.event.pull_request.number }}--fluxcd.netlify.app - prNumber: 1573 # usually set this to: ${{ github.event.pull_request.number}} + previewDomain: deploy-preview-1630--fluxcd.netlify.app # usually: deploy-preview-${{ github.event.pull_request.number }}--fluxcd.netlify.app + prNumber: 1630 # usually set this to: ${{ github.event.pull_request.number}} githubToken: ${{ secrets.GITHUB_TOKEN }} # pass a github token so we can comment, check status diff --git a/Makefile b/Makefile index 0b379ee..8e670c7 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ clean-cache: @rm -f links_data.json preview: - bundle exec ruby ./main.rb fluxcd.io deploy-preview-1573--fluxcd.netlify.app preview-report.csv false + bundle exec ruby ./main.rb fluxcd.io deploy-preview-1630--fluxcd.netlify.app preview-report.csv false run_with_preview: preview-report.csv @@ -30,7 +30,7 @@ normalize: report.csv preview-report.csv @# Normalize the main report.csv @$(SED) -i '1d' report.csv @PRODUCTION_DOMAIN=$(shell if [ -z "$(PRODUCTION_URL)" ]; then echo "fluxcd.io"; else echo "$(PRODUCTION_URL)"; fi) ;\ - PREVIEW_DOMAIN=$(shell if [ -z "$(PREVIEW_URL)" ]; then echo "deploy-preview-1573--fluxcd.netlify.app"; else echo "$(PREVIEW_URL)"; fi) ;\ + PREVIEW_DOMAIN=$(shell if [ -z "$(PREVIEW_URL)" ]; then echo "deploy-preview-1630--fluxcd.netlify.app"; else echo "$(PREVIEW_URL)"; fi) ;\ $(SED) -i "s/https:\/\/$$PRODUCTION_DOMAIN/https:\/\/$$PREVIEW_DOMAIN/1" report.csv ;\ $(SED) -i "s/https:\/\/$$PRODUCTION_DOMAIN/https:\/\/$$PREVIEW_DOMAIN/1" report.csv @sort -o report.csv report.csv