Skip to content

refactor: move deferred loading example into separate route/menu #17

refactor: move deferred loading example into separate route/menu

refactor: move deferred loading example into separate route/menu #17

name: Deploy Angular App to GitHub Pages
permissions:
contents: write
on:
push:
branches:
- main # Change this to your main branch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Dependencies
run: npm ci
- name: Build Angular App
run: npm run build -- --base-href="/angular-a11y-demo/"
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/a11y-demo/browser # Change this to your Angular app's build output directory