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:
|
||||
- name: build
|
||||
image: docker:latest
|
||||
@@ -13,6 +9,8 @@ steps:
|
||||
environment:
|
||||
ENV_FILE:
|
||||
from_secret: ENV_FILE
|
||||
when:
|
||||
- event: push
|
||||
- name: deploy
|
||||
image: docker:latest
|
||||
commands:
|
||||
@@ -22,4 +20,7 @@ steps:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
ENV_FILE:
|
||||
from_secret: ENV_FILE
|
||||
from_secret: ENV_FILE
|
||||
depends_on: [build]
|
||||
when:
|
||||
- event: manual
|
||||
Reference in New Issue
Block a user