Skip to content

Merge pull request #677 from morganstanley/dependabot/npm_and_yarn/js… #109

Merge pull request #677 from morganstanley/dependabot/npm_and_yarn/js…

Merge pull request #677 from morganstanley/dependabot/npm_and_yarn/js… #109

Workflow file for this run

name: GH Page Deploy
on:
push:
branches:
- main
defaults:
run:
working-directory: ./site
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
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@c05ee637ec73429400a359430db8e5629f3f2564 # v4.0.0
with:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}