Skip to content

Merge pull request #35 from morganstanley/dependabot/npm_and_yarn/sit… #30

Merge pull request #35 from morganstanley/dependabot/npm_and_yarn/sit…

Merge pull request #35 from morganstanley/dependabot/npm_and_yarn/sit… #30

Workflow file for this run

name: 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 }}