From 0597c736901348a18a29a0382f6e6e0f27da4f9b Mon Sep 17 00:00:00 2001 From: Kenzo Date: Tue, 9 Dec 2025 16:46:10 +0100 Subject: [PATCH] Refactor Woodpecker pipeline: consolidate `when` conditions, replace `secrets` with `environment` for Fly.io auth. --- .woodpecker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1316125..3fabf96 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,7 +1,9 @@ steps: deploy_frontend: image: node:20 - secrets: [FLY_API_TOKEN] + environment: + FLY_API_TOKEN: + from_secret: FLY_API_TOKEN commands: - curl -L https://fly.io/install.sh | sh - export PATH="$HOME/.fly/bin:$PATH"