From 0863811b2fabfd61c1c167bed96d1848257773b0 Mon Sep 17 00:00:00 2001 From: lauralani Date: Tue, 13 Jun 2023 11:23:46 +0200 Subject: [PATCH] update CI --- .woodpecker/deploy.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.woodpecker/deploy.yaml b/.woodpecker/deploy.yaml index 685ef7d..41b5e2b 100644 --- a/.woodpecker/deploy.yaml +++ b/.woodpecker/deploy.yaml @@ -3,9 +3,7 @@ steps: image: node:19 when: - event: push - - branch: - - main - - staging + branch: [main, staging] commands: - npm install -D @11ty/eleventy - npx @11ty/eleventy --input=. --output=public @@ -14,7 +12,7 @@ steps: image: alpine:latest when: - event: push - - branch: staging + branch: staging secrets: - SSH_KEY environment: @@ -35,7 +33,7 @@ steps: image: alpine:latest when: - event: push - - branch: main + branch: main secrets: - SSH_KEY environment: