„.drone.yml“ ändern
continuous-integration/drone/push Build is failing Details

main
michael 1 year ago
parent c2b245d2c8
commit ff379ceb08

@ -39,7 +39,8 @@ steps:
- cp -rf /tmp/Webseite/static/* static/ - cp -rf /tmp/Webseite/static/* static/
- source /tmp/shared/.venv/bin/activate - source /tmp/shared/.venv/bin/activate
- nohup python3 app.py 2>&1 > /dev/null & - nohup python3 app.py 2>&1 > /dev/null &
- sleep 10 - sleep 3
- ssh-keyscan -H git.omglinux.de -p 2222 >> ~/.ssh/known_hosts
- git clone ssh://git@git.omglinux.de:2222/michael/fdgl-production.git /tmp/shared/target - git clone ssh://git@git.omglinux.de:2222/michael/fdgl-production.git /tmp/shared/target
- cd /tmp/shared/target - cd /tmp/shared/target
- wget -mpEk http://127.0.0.1:5000 2>&1 > /dev/null || true - wget -mpEk http://127.0.0.1:5000 2>&1 > /dev/null || true

Loading…
Cancel
Save