From 7f6381a557deae3c4cca63ff8909e2058860d555 Mon Sep 17 00:00:00 2001 From: Sven Geboers Date: Thu, 2 Feb 2023 16:47:46 +0100 Subject: [PATCH] updated drone.yml --- .drone.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index fda8e31..340060e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,5 +1,5 @@ pipeline: - deploy: + copy: image: appleboy/drone-scp host: sgeboers.nl target: /home/webapps/gtfs/ @@ -9,3 +9,17 @@ pipeline: overwrite: true password: from_secret: password + deploy: + image: appleboy/drone-ssh + host: sgeboers.nl + user: webapps + password: + from_secret: password + script: + - cd gtfs + - python -m venv env + - source env/bin/activate + - cd code + - pip install -r requirements.txt + - bokeh serve main.py +