Compare commits
2 Commits
deploy
...
f66547b5a0
| Author | SHA1 | Date | |
|---|---|---|---|
| f66547b5a0 | |||
| 95652c603a |
@@ -1,3 +1,5 @@
|
|||||||
|
when:
|
||||||
|
- branch: deploy
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
@@ -10,8 +12,7 @@ steps:
|
|||||||
ENV_FILE:
|
ENV_FILE:
|
||||||
from_secret: ENV_FILE
|
from_secret: ENV_FILE
|
||||||
when:
|
when:
|
||||||
- branch: [deploy, master]
|
- event: [push, manual]
|
||||||
event: [push, manual]
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
commands:
|
commands:
|
||||||
@@ -22,7 +23,6 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
ENV_FILE:
|
ENV_FILE:
|
||||||
from_secret: ENV_FILE
|
from_secret: ENV_FILE
|
||||||
depends_on: build
|
depends_on: [build]
|
||||||
when:
|
when:
|
||||||
- branch: deploy
|
- event: deploy
|
||||||
event: manual
|
|
||||||
Reference in New Issue
Block a user