svrjs-nextjs-website/.github/workflows/mdx-content.yml
2024-07-21 00:59:50 +05:30

27 lines
474 B
YAML

name: Deploy MDX Content
on:
push:
branches:
- main
paths:
- "data/pages/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Run MDX build or processing script
run: npm run build-mdx