Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Commit 3b96a82

Browse files
committed
only promote to production on release
1 parent ef65488 commit 3b96a82

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.drone.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ type: docker
55
trigger:
66
branch:
77
- main
8+
event:
9+
- tag
810

911
node:
1012
location: staging
@@ -103,8 +105,8 @@ depends_on:
103105
- test
104106

105107
trigger:
106-
branch:
107-
- main
108+
event:
109+
- tag
108110

109111
steps:
110112
- name: Build Docker container

0 commit comments

Comments
 (0)