modified: .drone.yml
Some checks failed
continuous-integration/drone/push Build encountered an error
Some checks failed
continuous-integration/drone/push Build encountered an error
This commit is contained in:
@@ -8,12 +8,19 @@ steps:
|
||||
commands:
|
||||
- pip install -r requirements.txt
|
||||
- cd web # Change to the correct directory
|
||||
- python app.py
|
||||
- python app.py | tee output.log
|
||||
when:
|
||||
timeout: 15s
|
||||
|
||||
- name: check-success
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- grep "Debug mode: on" output.log
|
||||
|
||||
- name: cleanup
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- echo "Cleaning up any created data..."
|
||||
- rm -rf /tmp/*
|
||||
depends_on:
|
||||
- check-success
|
||||
Reference in New Issue
Block a user