mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 11:10:29 +08:00
trigger pages workflow only on push to main
This commit is contained in:
parent
e8e9a0e2d8
commit
b903c9665f
9
.github/workflows/gh-pages.yml
vendored
9
.github/workflows/gh-pages.yml
vendored
|
@ -1,10 +1,9 @@
|
|||
name: GitHub Pages
|
||||
|
||||
#on:
|
||||
# push:
|
||||
# branches:
|
||||
# - main
|
||||
on: [pull_request, push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
gh-pages:
|
||||
|
|
Loading…
Reference in a new issue