Compare commits
3 Commits
d5b045984f
...
deploy
| Author | SHA1 | Date | |
|---|---|---|---|
| ff615e2b67 | |||
| 1a93336d30 | |||
| 17a1e4bb36 |
@@ -1,6 +1,3 @@
|
||||
when:
|
||||
- branch: [master, deploy]
|
||||
event: [push, manual]
|
||||
steps:
|
||||
- name: build
|
||||
image: docker:latest
|
||||
@@ -13,7 +10,8 @@ steps:
|
||||
ENV_FILE:
|
||||
from_secret: ENV_FILE
|
||||
when:
|
||||
- event: [push, manual]
|
||||
- branch: [deploy, master]
|
||||
event: [push, manual]
|
||||
- name: deploy
|
||||
image: docker:latest
|
||||
commands:
|
||||
@@ -24,6 +22,7 @@ steps:
|
||||
environment:
|
||||
ENV_FILE:
|
||||
from_secret: ENV_FILE
|
||||
depends_on: [build]
|
||||
depends_on: build
|
||||
when:
|
||||
- event: manual
|
||||
- branch: deploy
|
||||
event: manual
|
||||
Reference in New Issue
Block a user