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:
|
2023-03-31 16:48:22 +00:00
|
|
|
registry: git.freifunk-rhein-sieg.net
|
2019-12-02 17:48:32 +00:00
|
|
|
repo: fftdf/freifunk-rhein-sieg.net
|
|
|
|
username:
|
2023-03-31 16:48:22 +00:00
|
|
|
from_secret: gitea_user
|
2019-12-02 17:48:32 +00:00
|
|
|
password:
|
2023-03-31 16:48:22 +00:00
|
|
|
from_secret: gitea_token
|
2020-05-25 20:42:18 +00:00
|
|
|
tags: ${DRONE_COMMIT_BRANCH}
|
|
|
|
|
2023-03-31 16:48:22 +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
|
|
|
|
#
|
|
|
|
#- name: slack
|
|
|
|
# image: plugins/slack
|
|
|
|
# settings:
|
|
|
|
# webhook:
|
|
|
|
# from_secret: slack_webhook
|
|
|
|
# channel: z_rhein-sieg-website
|