Feat: some conditions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -1,7 +1,3 @@
|
|||||||
when:
|
|
||||||
- event: push
|
|
||||||
branch: deploy
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
@@ -13,6 +9,8 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
ENV_FILE:
|
ENV_FILE:
|
||||||
from_secret: ENV_FILE
|
from_secret: ENV_FILE
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
commands:
|
commands:
|
||||||
@@ -23,3 +21,6 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
ENV_FILE:
|
ENV_FILE:
|
||||||
from_secret: ENV_FILE
|
from_secret: ENV_FILE
|
||||||
|
depends_on: [build]
|
||||||
|
when:
|
||||||
|
- event: manual
|
||||||
Reference in New Issue
Block a user