Skip to content

updated workflow

updated workflow #11

Workflow file for this run

name: Deploy to GitHub Pages via angular-cli-ghpages
on:
push:
branches: [master]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x
- name: Prepare and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install --force
npm run ng -- deploy --base-href=/Angular-CRUD-Operations/ --name="Durgesh Pal" [email protected]