From 6ad112f220f2b55fec3c160fa14fbe24159410cf Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 23 May 2023 08:23:06 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9E.drone.yml=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 033f794..da0fb43 100644 --- a/.drone.yml +++ b/.drone.yml @@ -32,7 +32,8 @@ steps: - cp -rf /tmp/Webseite/pages/*.md pages/ - cp -rf /tmp/Webseite/static/* static/ - source /tmp/shared/.venv/bin/activate - - ( python3 app.py > /dev/null 2> /dev/null & ); + - python3 app.py & + - sleep 10 - mkdir /tmp/shared/target - cd /tmp/shared/target - wget -mpEk http://127.0.0.1:5000 @@ -40,18 +41,6 @@ steps: - name: shared path: /tmp/shared -- name: target - image: python:3.7-alpine - commands: - - apk add unzip wget make git curl - - mkdir /tmp/shared/target - - cd /tmp/shared/target - - wget -mpEk http://127.0.0.1:5000 - volumes: - - name: shared - path: /tmp/shared - - volumes: - name: shared temp: {}