Only automatically build site when the sites directory changes

This commit is contained in:
Zoey 2021-08-18 14:21:16 -07:00
parent 2a8dfa278d
commit 206a8921aa

View file

@ -7,6 +7,7 @@ on:
# Triggers the workflow on push or pull request events but only for the main branch # Triggers the workflow on push or pull request events but only for the main branch
push: push:
branches: [main] branches: [main]
paths: [site/**]
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch: