From 3ac855027c9a574f739929624b647fd716686c64 Mon Sep 17 00:00:00 2001 From: James Darling Date: Fri, 9 Oct 2026 17:59:49 +0100 Subject: [PATCH] Publish repo root to gh-pages again (restore publish_dir) Deploys from main have been no-ops since c2f2755 ("Don't overwrite pr-preview in github pages"). That commit replaced `publish_dir: .`, `exclude_assets` and `enable_jekyll` with `keep_files: true` and left publish_dir unset. peaceiris/actions-gh-pages then defaults to `./public`, which doesn't exist in this repo, so the job reports success without publishing anything. Result: merges to main (e.g. PR #12) never reached the live site; only PR previews did. Restore `publish_dir: .`, keeping `keep_files: true` so pr-preview/ is preserved. Broken by: https://github.com/NHSDigital/digital-screening-architecture/commit/c2f275598e1447faa8a752363e349d405efab2db --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1c733e9..0ee66cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,5 +38,6 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: . keep_files: true publish_branch: gh-pages \ No newline at end of file