Skip to content

ci: update github action #17

ci: update github action

ci: update github action #17

Workflow file for this run

name: Deploy Angular SPA to GitHub Pages
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js 16.15.1
uses: actions/setup-node@v1
with:
node-version: '16.15.1'
- name: Build 🔨
run: |
npm install -g @angular/cli
npm install
ng build --prod --base-href=""
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist/git-catalogue