Skip to content

Commit b082a3d

Browse files
committed
Let CI build all branches but gh-pages
1 parent 1dda6e1 commit b082a3d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.drone.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ pipeline:
4949
secrets: [ bot_pass ]
5050
when:
5151
event: push
52+
# We only generate the documentation for the master branch
53+
branch: master
5254

5355
# PUBLISHING:
5456
# Publishing expect NIGHTLYBUILD or RELEASEBUILD to be set. See dottyVersion in Build.scala
@@ -100,5 +102,6 @@ pipeline:
100102
status: [ failure ]
101103
event: [ push, tag, deployment ]
102104

103-
# CI runs only for the master branch (including PRs)
104-
branches: master
105+
branches:
106+
# The gh-pages branch holds the documentation and don't need to be built
107+
exclude: gh-pages

0 commit comments

Comments
 (0)