Skip to content

Merge pull request #314 from morganstanley/dependabot/nuget/TestableI… #129

Merge pull request #314 from morganstanley/dependabot/nuget/TestableI…

Merge pull request #314 from morganstanley/dependabot/nuget/TestableI… #129

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
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@fbf0a4fa4e00f45accd6cf3232368436ec06ed59 # v4.1.0
with:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}