Skip to content

fix(deps): update dependency @mdx-js/react to v3.1.0 #268

fix(deps): update dependency @mdx-js/react to v3.1.0

fix(deps): update dependency @mdx-js/react to v3.1.0 #268

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
paths:
- docs/**
- .github/workflows/docs.yml
pull_request:
branches: [main]
paths:
- docs/**
- .github/workflows/docs.yml
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
cache-dependency-path: ./docs/package-lock.json
- name: Build docs
working-directory: docs
run: |
npm ci
npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/build
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4