modified: .drone.yml
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2024-12-06 09:45:36 +01:00
parent 1b0cd72f3b
commit c964552de4

View File

@@ -8,12 +8,19 @@ steps:
commands: commands:
- pip install -r requirements.txt - pip install -r requirements.txt
- cd web # Change to the correct directory - cd web # Change to the correct directory
- python app.py - python app.py | tee output.log
when: when:
timeout: 15s timeout: 15s
- name: check-success
image: alpine:latest
commands:
- grep "Debug mode: on" output.log
- name: cleanup - name: cleanup
image: alpine:latest image: alpine:latest
commands: commands:
- echo "Cleaning up any created data..." - echo "Cleaning up any created data..."
- rm -rf /tmp/* - rm -rf /tmp/*
depends_on:
- check-success