Skip to content

build(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6 #99

build(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6

build(deps-dev): bump follow-redirects from 1.15.4 to 1.15.6 #99

name: Deploy gh-pages
on:
push:
pull_request:
branches:
- $default-branch
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: npm
- run: |
npm ci
./node_modules/.bin/ng test --watch=false --progress=false --browsers=ChromeHeadlessCI
- run: ./node_modules/.bin/ng build
- uses: actions/upload-pages-artifact@v1
with:
path: dist/blog
deploy:
needs: [ build ]
if: github.ref_name == github.event.repository.default_branch
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
steps:
- uses: actions/deploy-pages@v2