aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)AuthorFilesLines
2026-04-22Strip comments from CSS, YAML, gitignore, JS configs; JSDoc-on-declarations ↵Bobby1-4/+0
is the only allowed comment
2026-04-22Drop configure-pages enablement; Pages must be enabled once by handBobby1-4/+4
configure-pages@v5 with enablement: true fails on a fresh repo with "Resource not accessible by integration" — creating a Pages site is administration-scoped and the workflow's GITHUB_TOKEN only carries pages: write, which is enough to deploy but not to provision. The one-time manual step is: Settings → Pages → Source: GitHub Actions. After that, this workflow is idempotent and deploys on every push.
2026-04-22Enable GitHub Pages from the deploy workflow itselfBobby1-0/+4
configure-pages fails on first run when Pages hasn't been turned on in the repo yet. Passing enablement: true lets the workflow provision the Pages site using its own pages:write token — no manual Settings → Pages trip needed, and subsequent runs are idempotent.
2026-04-22Add GitHub Pages deploy workflowBobby1-0/+58
On push to main: install with frozen lockfile, type-check with svelte-check, lint, then build with BASE_PATH set to /<repo-name> so kit.paths.base produces correct asset URLs under the GH Pages subdomain. Artifact uploaded via actions/upload-pages-artifact@v3 and deployed via actions/deploy-pages@v4. Concurrency group 'pages' prevents overlapping deploys from stepping on each other; cancel-in-progress left off so a queued deploy from a later commit waits for the earlier one to finish rather than aborting it mid-upload.