Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
- Configured `FLY_API_TOKEN` environment variable from secrets for deployment pipeline.
19 lines
332 B
YAML
19 lines
332 B
YAML
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"
|
|
- flyctl deploy --config fly.toml --app gallus-pub
|
|
|
|
when:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|