Add Fly.io secret to .woodpecker.yml pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
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:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user