Compare commits

...

2 Commits

Author SHA1 Message Date
a718c15be3 Feat: fixed conditions
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-12-27 20:54:55 +03:00
f3519b8de6 Feat: some conditions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-12-27 20:50:59 +03:00

View File

@@ -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, manual, pull_request_closed]
- 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