Added automatic Website Publication

This commit is contained in:
Stefan Hoffmann 2021-01-09 18:14:03 +01:00
parent 0b4fd832ab
commit e1f580f939

View File

@ -12,6 +12,19 @@ steps:
from_secret: docker_password from_secret: docker_password
tags: ${DRONE_COMMIT_BRANCH} 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 - name: slack
image: plugins/slack image: plugins/slack
settings: settings: