Skip to content

Merge pull request #105 from morganstanley/dependabot/npm_and_yarn/co… #44

Merge pull request #105 from morganstanley/dependabot/npm_and_yarn/co…

Merge pull request #105 from morganstanley/dependabot/npm_and_yarn/co… #44

Workflow file for this run

name: GH Page Deploy
on:
push:
branches:
- main
defaults:
run:
working-directory: ./site
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
cache-dependency-path: "./site/package-lock.json"
- run: npm ci
- run: npm run build
- name: Deploy
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}