From e399f754534852d493ffa17e347e749af859f3fd Mon Sep 17 00:00:00 2001 From: hackish Date: Tue, 13 Aug 2024 23:21:35 -0700 Subject: [PATCH] build --- .woodpecker.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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