diff --git a/.woodpecker.yml b/.woodpecker.yml index 6bf0ef8..3f763ec 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,7 +1,7 @@ steps: - name: build when: - event: push + branch: main image: docker volumes: - /var/run/docker.sock:/var/run/docker.sock @@ -10,7 +10,7 @@ steps: - name: deploy when: - event: push + branch: main image: docker volumes: - /var/run/docker.sock:/var/run/docker.sock @@ -19,3 +19,4 @@ steps: - docker stop caddy-extension || true - docker rm caddy-extension || true - docker run -d --name caddy-extension -p 80:80 codebreaker/caddy-keydb:latest + depends_on: build