From e1f580f93909f8f0261f7af87ff1157829f0032c Mon Sep 17 00:00:00 2001 From: Stefan Hoffmann Date: Sat, 9 Jan 2021 18:14:03 +0100 Subject: [PATCH] Added automatic Website Publication --- .drone.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.drone.yml b/.drone.yml index 79c3121..c6ce9d5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,6 +12,19 @@ steps: from_secret: docker_password tags: ${DRONE_COMMIT_BRANCH} +- name: publish Website + image: appleboy/drone-ssh + settings: + host: freifunk-rhein-sieg.net + port: 22 + username: dronebot + password: + from_secret: ffrs_server_password + script: + - cd /opt/docker/ffrs-website-docker-compose/ + - docker-compose pull + - docker-compose up -d + - name: slack image: plugins/slack settings: