Skip to content

Added github workflow #1

Added github workflow

Added github workflow #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install angular-cli-ghpages
run: npm install angular-cli-ghpages --save-dev
- name: Build
run: npm run build -- --base-href="/${{ github.repository }}/"
- name: Deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx angular-cli-ghpages --dir=dist/angularui/browser --no-silent