only deploy gh-pages if something in the docs folder changes

This commit is contained in:
Charles Ewert 2023-10-26 23:28:13 -04:00
parent 161375311e
commit 5c2ab5e8c1

View File

@ -2,9 +2,9 @@
name: deploy-api-docs
on:
# Runs on pushes targeting the default branch
push:
branches: ["unstable"]
paths: ["docs/**"] # only run if the docs are updated
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: