Skip to content

Commit

Permalink
update test to point at fluxcd/website#1630
Browse files Browse the repository at this point in the history
Signed-off-by: Kingdon Barrett <[email protected]>
  • Loading branch information
Kingdon Barrett committed Aug 21, 2023
1 parent 5ad9fd5 commit 9ae8fab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit 9ae8fab

Please sign in to comment.