From 23b47a7e8588ac7c5cc9b9eed6623503814df592 Mon Sep 17 00:00:00 2001 From: Kenzo Date: Tue, 15 Jul 2025 21:12:50 +0200 Subject: [PATCH] Add Fly.io secret to `.woodpecker.yml` pipeline - Configured `FLY_API_TOKEN` environment variable from secrets for deployment pipeline. --- .woodpecker.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index edeecae..0915dd2 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -3,6 +3,9 @@ name: deploy steps: deploy: image: node:20 + environment: + FLY_API_TOKEN: + from_secret: FLY_API_TOKEN commands: - curl -L https://fly.io/install.sh | sh - export PATH="$HOME/.fly/bin:$PATH" @@ -12,4 +15,4 @@ when: branch: - main event: - - push \ No newline at end of file + - push