Skip to content

Commit 51d6fef

Browse files
author
Fabien Coelho
committed
restrict doc publication to branch main
1 parent a45ba47 commit 51d6fef

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/docs.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: FlaskTest documentation publication on GitHub
22

3-
on: push
3+
on:
4+
push:
5+
branches: [ "main" ]
46

57
jobs:
68
build:

docs/versions.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ please report any [issues](https://github.com/zx80/flask-tester/issues).
88
## TODO
99

1010
Check whether data and json should be exclusive.
11+
Publish documentation only when pushing on branch `main`.
1112

1213
## ? on ?
1314

0 commit comments

Comments
 (0)