Commit 010d411
authored
Update deploy.yml
- Introduced .github/workflows/deploy.yml to automate QuantumCA™ dashboard deployment to GitHub Pages
- Workflow triggers on push to quantumca-dev-v1.0 branch
- Uses ubuntu-latest runner with Node.js 20 and npm caching for faster builds
- Steps:
1. Checkout repository code
2. Setup Node.js environment
3. Install dependencies via npm ci for clean, reproducible installs
4. Build production-ready assets using npm run build
5. Deploy /dist folder to gh-pages branch using peaceiris/actions-gh-pages@v4
- Eliminates manual deployment commands (npx gh-pages -d dist) and reduces human error
- Ensures every deployment is tied to a specific commit and workflow run for traceability
- Aligns with compliance and audit requirements by providing a full deployment log in the Actions tab
- Prepares the pipeline for future enhancements such as:
* Tag-based deployments for version-aware releases
* Pre-deploy security audits and browserslist updates
* Integration with snapshot registry for release traceability1 parent bfa1cec commit 010d411
1 file changed
Lines changed: 37 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
0 commit comments