Skip to content

Commit 7c00804

Browse files
chrisnsclaude
andcommitted
fix: Use custom domain for GITHUB_PAGES_URL instead of repository URL
The govuk-eleventy-plugin uses GITHUB_PAGES_URL to construct absolute URLs for stylesheets. Using github.event.repository.html_url resulted in broken CSS references pointing to https://github.com/co-cddo/ndx_try_aws_scenarios instead of the actual GitHub Pages custom domain. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 592821c commit 7c00804

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Build Eleventy site
7171
run: npm run build
7272
env:
73-
GITHUB_PAGES_URL: ${{ github.event.repository.html_url }}
73+
GITHUB_PAGES_URL: https://aws.try.ndx.digital.cabinet-office.gov.uk
7474

7575
- name: Upload build artifact
7676
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)