This commit is contained in:
commit
383286c4cd
33
.drone.yml
33
.drone.yml
@ -1,33 +0,0 @@
|
|||||||
kind: pipeline
|
|
||||||
name: website build
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: docker
|
|
||||||
image: plugins/docker
|
|
||||||
settings:
|
|
||||||
repo: fftdf/freifunk-rhein-sieg.net
|
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
password:
|
|
||||||
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:
|
|
||||||
webhook:
|
|
||||||
from_secret: slack_webhook
|
|
||||||
channel: z_rhein-sieg-website
|
|
38
.woodpecker.yml
Normal file
38
.woodpecker.yml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
platform: linux/arm64
|
||||||
|
|
||||||
|
kind: pipeline
|
||||||
|
name: website build
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
platforms: linux/amd64
|
||||||
|
registry: git.freifunk-rhein-sieg.net
|
||||||
|
repo: git.freifunk-rhein-sieg.net/freifunk-rhein-sieg/freifunk-rhein-sieg.net
|
||||||
|
username:
|
||||||
|
from_secret: gitea_user
|
||||||
|
password:
|
||||||
|
from_secret: gitea_token
|
||||||
|
tags: latest
|
||||||
|
#
|
||||||
|
#- 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
|
Loading…
Reference in New Issue
Block a user