Skip to content

Commit f7cabba

Browse files
committed
docs: Set trigger branch
1 parent 2ca5c40 commit f7cabba

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ Publishing with this action (default)
2222
.. code-block:: yaml
2323
2424
name: Deploy Sphinx documentation to Pages
25+
26+
on:
27+
push:
28+
branches: [master] # branch to trigger deployment
29+
2530
jobs:
2631
pages:
2732
runs-on: ubuntu-20.04
@@ -48,6 +53,11 @@ Publishing from a branch (classical)
4853
.. code-block:: yaml
4954
5055
name: Deploy Sphinx documentation to Pages
56+
57+
on:
58+
push:
59+
branches: [master] # branch to trigger deployment
60+
5161
jobs:
5262
pages:
5363
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)