trigger pages workflow only on push to main

This commit is contained in:
joeycastillo authored and GitHub committed 2021-12-14 12:07:13 -06:00
1 parent e8e9a0e2d8
commit b903c9665f
1 file changed
+4 -5
+4 -5
View File
@@ -1,10 +1,9 @@
name: GitHub Pages
#on:
# push:
# branches:
# - main
on: [pull_request, push]
on:
push:
branches:
- main
jobs:
gh-pages: