2019-12-02 17:50:00 +00:00
|
|
|
kind: pipeline
|
2019-12-02 17:48:32 +00:00
|
|
|
name: website build
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: docker
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
repo: fftdf/freifunk-rhein-sieg.net
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
2019-12-15 08:23:36 +00:00
|
|
|
from_secret: docker_password
|
2020-05-25 20:42:18 +00:00
|
|
|
tags: ${DRONE_COMMIT_BRANCH}
|
|
|
|
|
2021-01-09 17:14:03 +00:00
|
|
|
- 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
|
|
|
|
|
2020-05-25 20:42:18 +00:00
|
|
|
- name: slack
|
|
|
|
image: plugins/slack
|
|
|
|
settings:
|
|
|
|
webhook:
|
|
|
|
from_secret: slack_webhook
|
2020-05-25 20:44:49 +00:00
|
|
|
channel: z_rhein-sieg-website
|