diff --git a/.github/workflows/gh-pages-build.yml b/.github/workflows/gh-pages-build.yml index 3fb36de..7177201 100644 --- a/.github/workflows/gh-pages-build.yml +++ b/.github/workflows/gh-pages-build.yml @@ -1,6 +1,8 @@ name: Eleventy Build -push: - branches: [main] +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ]git jobs: build_deploy: