Anja Freudenreich 57b899f315
Some checks failed
continuous-integration/drone/push Build is failing
.drone.yml aktualisiert
2025-02-13 14:03:38 +00:00

24 lines
540 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: build and test
image: python:3.9-slim
commands:
- pip install --no-cache-dir -r requirements.txt
- python app.py & # Run Flask app in background
- name: deploy
image: python:3.9-slim
when:
status: success
commands:
- echo "Deploying app to production..."
- python deploy.py # Run your deployment script or use SSH
secrets: [ eins ] # Use secrets to securely store deployment credentials
trigger:
branch:
- master