Files
Gallus_Pub/.woodpecker.yml
Kenzo c55e274718
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
woodpecker soll nun auch das backend deployen
2025-12-09 13:58:39 +01:00

30 lines
701 B
YAML

steps:
deploy_frontend:
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 --remote-only
build_and_deploy_backend:
image: node:20
environment:
FLY_API_TOKEN:
from_secret: FLY_API_TOKEN
commands:
- cd backend
- npm ci
- npm run build
- curl -L https://fly.io/install.sh | sh
- export PATH="$HOME/.fly/bin:$PATH"
- flyctl deploy --config fly.toml --app gallus-cms-backend --remote-only
when:
branch:
- main
event:
- push