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