Add Fly.io secret to .woodpecker.yml pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

- Configured `FLY_API_TOKEN` environment variable from secrets for deployment pipeline.
This commit is contained in:
2025-07-15 21:12:50 +02:00
parent f4c75ea941
commit 23b47a7e85

View File

@ -3,6 +3,9 @@ name: deploy
steps: steps:
deploy: deploy:
image: node:20 image: node:20
environment:
FLY_API_TOKEN:
from_secret: FLY_API_TOKEN
commands: commands:
- curl -L https://fly.io/install.sh | sh - curl -L https://fly.io/install.sh | sh
- export PATH="$HOME/.fly/bin:$PATH" - export PATH="$HOME/.fly/bin:$PATH"
@ -12,4 +15,4 @@ when:
branch: branch:
- main - main
event: event:
- push - push