2019-12-02 17:50:00 +00:00
|
|
|
kind: pipeline
|
2019-12-02 17:48:32 +00:00
|
|
|
name: website build
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: docker
|
2023-08-22 12:54:18 +00:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
2019-12-02 17:48:32 +00:00
|
|
|
settings:
|
2023-08-22 12:54:18 +00:00
|
|
|
platforms: linux/amd64,linux/arm64/v8
|
|
|
|
registry: git.freifunk-rhein-sieg.net
|
|
|
|
repo: git.freifunk-rhein-sieg.net/freifunk-rhein-sieg/freifunk-rhein-sieg.net
|
2019-12-02 17:48:32 +00:00
|
|
|
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
|
2023-08-22 12:54:18 +00:00
|
|
|
tags: latest
|
2023-03-31 16:50:51 +00:00
|
|
|
#
|
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
|