From 55f38b4decef8366ee93ba837eb24981d340185f Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Wed, 26 Jun 2024 10:25:16 -0400 Subject: [PATCH] trying to make this pipeline suck less --- .drone.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 7163de6..1672aa4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,8 +24,10 @@ steps: source: /drone/src/public/ target: /var/www/blog.ndumas.com/ include: ["*"] -branches: -- main +when: + branch: + include: + - main --- kind: pipeline name: dev @@ -55,7 +57,8 @@ steps: include: ["*"] when: branch: - - dev + include: + - dev --- kind: pipeline name: drafts @@ -85,4 +88,5 @@ steps: include: ["*"] when: branch: - - dev + include: + - main