mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +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
|
name: GitHub Pages
|
||||||
|
|
||||||
#on:
|
on:
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - main
|
- main
|
||||||
on: [pull_request, push]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gh-pages:
|
gh-pages:
|
||||||
|
|
Loading…
Reference in a new issue