Skip to content

Merge pull request #50 from PacktPublishing/angular-v18 #7

Merge pull request #50 from PacktPublishing/angular-v18

Merge pull request #50 from PacktPublishing/angular-v18 #7

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: '18'
- name: Install dependencies
run: npm i
- name: Build
run: npm run predeploy
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/apps