Skip to content

Merge pull request #58 from BrownUniversity/dependabot/npm_and_yarn/w… #49

Merge pull request #58 from BrownUniversity/dependabot/npm_and_yarn/w…

Merge pull request #58 from BrownUniversity/dependabot/npm_and_yarn/w… #49

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
cache: 'npm'
- run: npm ci
- run: npm run build:docs
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@c05ee637ec73429400a359430db8e5629f3f2564 # v4.0.0
with:
target_branch: gh-pages
build_dir: docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}