@@ -68,17 +68,14 @@ Expected behavior:
6868
6969### Deploy to GitHub Pages
7070
71- #### Automatic Deployment ( GitHub Actions)
71+ The authoritative production deployment path is GitHub Actions.
7272
73- The project is configured with GitHub Actions to automatically deploy to GitHub Pages when code is pushed to the ` main ` branch.
74-
75- #### Manual Deployment
76-
77- ``` bash
78- npm run deploy
79- ```
80-
81- This will build the application and deploy it to the ` gh-pages ` branch.
73+ - Authoritative workflow: ` .github/workflows/deploy-gh-pages.yml `
74+ - Production source of truth: the ` gh-pages ` branch, published only after CI validation succeeds
75+ - Published payload contract: branch root ` esa.jsonc ` plus ` dist/ ` containing the validated Vite output
76+ - Required GitHub permissions: the deploy job needs ` contents: write ` ; the build job stays read-only
77+ - Supported triggers: push to ` main ` and ` workflow_dispatch `
78+ - Legacy path retired: local ` gh-pages ` CLI publication is no longer a supported production flow
8279
8380### GitHub Pages Configuration
8481
@@ -89,15 +86,19 @@ This will build the application and deploy it to the `gh-pages` branch.
8986 - Choose "gh-pages" branch and "/ (root)" folder
9087 - Click "Save"
9188
92- 2 . The application will be available at:
93- ` https://<your-username>.github.io/docker-compose-builder/ `
89+ 2 . Ensure the hosting layer reads ` gh-pages/esa.jsonc ` and serves ` gh-pages/dist/ ` .
90+
91+ 3 . The production site should remain available at:
92+ ` https://builder.hagicode.com `
9493
9594### Deployment Troubleshooting
9695
9796- ** 404 Error** : Ensure GitHub Pages is properly configured and the ` gh-pages ` branch exists
9897- ** Assets not loading** : Check that ` vite.config.ts ` has the correct ` base ` configuration
9998- ** Build failures** : Verify dependencies are installed correctly with ` npm ci `
10099- ** Permissions** : Ensure the GitHub Actions workflow has the necessary permissions
100+ - ** First deploy checks** : Confirm the workflow uploaded ` esa.jsonc ` and ` dist/ ` , then verify ` https://builder.hagicode.com `
101+ - ** Rollback** : Revert the source change or rerun the workflow from an older commit so CI republishes the previous snapshot
101102
102103### Configuration Options
103104
0 commit comments