Files
Gallus_Pub/.woodpecker.yml
Kenzo 8b2d00385a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
test
2025-12-09 14:03:36 +01:00

30 lines
727 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 install --no-audit --no-fund
- 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