From f4c75ea941a93aef2370fce022dbd4edfaa8a879 Mon Sep 17 00:00:00 2001 From: Kenzo Date: Tue, 15 Jul 2025 21:10:11 +0200 Subject: [PATCH] Refactor `.woodpecker.yml` pipeline configuration - Renamed pipeline to "deploy" for clarity. - Adjusted `when` conditions structure for branch and event targeting. --- .woodpecker.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index f9a3c7a..edeecae 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,11 +1,15 @@ -pipeline: +name: deploy + +steps: deploy: image: node:20 commands: - curl -L https://fly.io/install.sh | sh - export PATH="$HOME/.fly/bin:$PATH" - flyctl deploy --config fly.toml --app gallus-pub - when: - event: push - branch: - - main + +when: + branch: + - main + event: + - push \ No newline at end of file