Only automatically build site when the sites directory changes

This commit is contained in:
Zoey 2021-08-18 14:21:16 -07:00
parent f28fa2365a
commit 7b328a1597
No known key found for this signature in database
GPG key ID: 2DCAC8EA81672106

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: