Skip to content

Commit c3b2a1a

Browse files
committed
Changed pipeline conditions
Signed-off-by: konrad <[email protected]>
1 parent 11b38b0 commit c3b2a1a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.drone.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,10 @@ workspace:
322322
path: src/code.gitea.io/gitea
323323

324324
when:
325+
branch:
326+
- master
325327
event:
326-
exclude:
327-
- pull_request
328+
- push
328329

329330
steps:
330331
- name: download
@@ -386,9 +387,10 @@ workspace:
386387
path: src/code.gitea.io/gitea
387388

388389
when:
390+
branch:
391+
- master
389392
event:
390-
exclude:
391-
- pull_request
393+
- push
392394

393395
depends_on:
394396
- testing
@@ -533,9 +535,10 @@ workspace:
533535
path: src/code.gitea.io/gitea
534536

535537
when:
538+
branch:
539+
- master
536540
event:
537-
exclude:
538-
- pull_request
541+
- push
539542

540543
steps:
541544
- name: build-docs
@@ -569,11 +572,6 @@ workspace:
569572
base: /go
570573
path: src/code.gitea.io/gitea
571574

572-
when:
573-
event:
574-
exclude:
575-
- pull_request
576-
577575
steps:
578576
- name: fetch-tags
579577
pull: default
@@ -628,6 +626,8 @@ steps:
628626
depends_on:
629627
- dryrun
630628
when:
629+
branch:
630+
- master
631631
event:
632632
- push
633633
- tag
@@ -651,9 +651,9 @@ when:
651651

652652
depends_on:
653653
- testing
654-
- docker
655654
- translations
656655
- release
656+
- docker
657657
- docs
658658

659659
steps:

0 commit comments

Comments
 (0)