diff --git a/README.md b/README.md index 534a2c0e..190e8e42 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ nvm use 18 && npm run deploy Production Brief discovery (`/.well-known/brief.json` on `cmutt.app`) is **generated at deploy time** — never a committed production JSON file. `deploy.js` runs `scripts/generate-brief-config.js` before `vue-cli-service build`, then publishes `dist/` to `gh-pages`. CI `npm run build` also regenerates via `prebuild`, but **live Pages only updates when you run `npm run deploy`**. +Publish uses `gh-pages -d dist --dotfiles` so `.well-known` is not skipped, and `public/.nojekyll` lands in `dist/` so GitHub Pages/Jekyll does not strip dot-directories. + **Production cmutt (preferred SSOT):** copy brochure config from the live API so humans only edit server env (e.g. mvtt-server `.env.cmu-tt`). In the deploy `.env` / `.env.local`: ``` diff --git a/package.json b/package.json index 1b37875a..de42f09d 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "copy-win": "copy /Y dist\\index.html dist\\404.html", "copy-nix": "cp dist/index.html dist/404.html", "echo-message": "echo 'Copied index.html to 404.html'", - "publish": "gh-pages -d dist" + "publish": "gh-pages -d dist --dotfiles" }, "dependencies": { "@lottiefiles/vue-lottie-player": "^1.1.0", diff --git a/public/.nojekyll b/public/.nojekyll new file mode 100644 index 00000000..e69de29b