Skip to content

docs: integrate visual profile elements into technical README #27

docs: integrate visual profile elements into technical README

docs: integrate visual profile elements into technical README #27

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Validate route consistency
run: node scripts/validate-routes.js
continue-on-error: false
- name: Build application
run: npm run build
- name: Generate sitemap and prepare Multi-Entry SPA
run: node generate-sitemap.js
- name: Verify deployment structure
run: |
echo "Verifying critical files..."
test -f dist/index.html || (echo "ERROR: dist/index.html missing" && exit 1)
test -f dist/.nojekyll || (echo "ERROR: dist/.nojekyll missing" && exit 1)
test -f dist/404.html || (echo "ERROR: dist/404.html missing" && exit 1)
echo "✅ All critical files present"
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: false