Skip to content

Commit

Permalink
Use ref instead of branch
Browse files Browse the repository at this point in the history
So that the steps run for tags too.
  • Loading branch information
jvican committed Jan 26, 2018
1 parent 9759ed5 commit 9675ee2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pipeline:
build:
image: scalaplatform/scala:2.1
when:
branch: master
ref: [ refs/heads/master, refs/tags/* ]
commands:
- git log | head -n 20
- ${SBT_RUN}
Expand All @@ -51,7 +51,7 @@ pipeline:
volumes:
- /scalacenter:/keys
when:
branch: master
ref: [ refs/heads/master, refs/tags/* ]
event: [ push, tag, deployment ]
status: success
commands:
Expand All @@ -68,7 +68,7 @@ pipeline:
volumes:
- /scalacenter:/keys
when:
branch: master
ref: [ refs/heads/master, refs/tags/* ]
event: [ tag ]
status: success
commands:
Expand Down

0 comments on commit 9675ee2

Please sign in to comment.