chore: strip the comments this branch added
Removes every comment introduced on this branch: website/ in full, pages.yml in full, and only the blocks added to ci.yml and release.yml — their pre-existing comments are untouched. Two directives survive because they are load-bearing rather than prose: the triple-slash vite/client reference, and nothing else. Two comments were carrying behaviour that the code did not state, so the code now states it. useCopy's rejection handler clears the copied flag instead of sitting empty, and writeTheme returns whether the write actually landed instead of swallowing the failure in a bare catch. isExternal drops its regex for two startsWith calls, which reads the same and no longer hides a `//` inside a literal.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
name: Pages
|
||||
|
||||
# Only the website. The Rust workflows ignore this same path, so a site-only
|
||||
# push runs this alone and a code-only push never rebuilds the site.
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
@@ -29,8 +27,6 @@ jobs:
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
# --frozen-lockfile so a drifted bun.lock fails here rather than
|
||||
# silently shipping different dependency versions than were tested.
|
||||
- name: Install
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
@@ -40,8 +36,6 @@ jobs:
|
||||
- name: Lint
|
||||
run: bun run lint
|
||||
|
||||
# Emits one static HTML file per route plus a 404, so direct links
|
||||
# answer 200 with real markup instead of the SPA shell.
|
||||
- name: Build
|
||||
run: bun run build
|
||||
|
||||
@@ -51,14 +45,10 @@ jobs:
|
||||
|
||||
deploy:
|
||||
name: Deploy
|
||||
# Pull requests get the build as a check; only master publishes.
|
||||
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
# Scoped to the deploy, not the workflow: a workflow-level group would
|
||||
# queue PR builds behind an in-flight master deploy for no reason. Never
|
||||
# cancel in flight — a half-uploaded artifact leaves the live site broken.
|
||||
concurrency:
|
||||
group: pages
|
||||
cancel-in-progress: false
|
||||
|
||||
Reference in New Issue
Block a user