diff --git a/.woodpecker.yml b/.woodpecker.yml index 9267899..489e07c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,6 +4,8 @@ steps: commands: - pip install -r requirements.txt - pytest -q + when: + event: [push, manual] build: image: "docker:27-cli" @@ -14,6 +16,8 @@ steps: IMAGE: "flask-demo:latest" commands: - docker build -t "$IMAGE" . + when: + event: [push, manual] deploy: image: "docker:27-cli" @@ -23,7 +27,7 @@ steps: commands: - docker compose up -d when: - event: [push] + event: [push, manual] branch: [main] volumes: