feat: open-source template refactor
Deploy to GitHub Pages / deploy (push) Has been cancelled

- Extract content to src/config/profile.js (single-file customization)
- Add Apache-2.0 LICENSE, CONTRIBUTING.md, robots.txt
- Add GitHub Pages auto-deploy workflow
- Update package.json: private=false, license, homepage
- Add SEO/Open Graph meta tags to index.html
- Rewrite README.md with Quick Start guide
- Update .gitignore: AI tooling, caches, deployment state
This commit is contained in:
2026-08-10 06:54:58 +08:00
parent dbe18e51bd
commit 06d609ba94
12 changed files with 784 additions and 636 deletions
+28
View File
@@ -0,0 +1,28 @@
name: Deploy to GitHub Pages
on:
push:
branches: [main]
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run build
- uses: actions/configure-pages@v4
- uses: actions/upload-pages-artifact@v3
with:
path: dist
- id: deployment
uses: actions/deploy-pages@v4