Only redeploy on docs change

release/4.3a0
p-zach 2025-02-10 20:14:13 -05:00
parent 7f16fba071
commit 1120db212b
1 changed files with 7 additions and 2 deletions

View File

@ -1,10 +1,15 @@
# This file was created automatically with `myst init --gh-pages` 🪄 💚
# This file was initialized with `myst init --gh-pages`
name: MyST GitHub Pages Deploy
on:
push:
# Runs on pushes targeting the default branch
# Runs on pushes targeting the develop branch
branches: [develop]
# Only trigger redeploy if Markdown files, notebooks, or config changes
paths:
- '**.md'
- '**.ipynb'
- 'myst.yml'
env:
# `BASE_URL` determines the website is served from, including CSS & JS assets
# You may need to change this to `BASE_URL: ''`