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