build: mirror to github

This commit is contained in:
Dominik Meyer 2024-12-27 19:14:13 +01:00
parent 91ef7ad770
commit 156ebad64c
Signed by untrusted user: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -45,4 +45,35 @@ steps:
- mkdir build
- cd build; cmake ..
- make -j 4
- make test
- make test
---
kind: pipeline
type: kubernetes
name: mirror-to-github
node_selector:
kubernetes.io/arch: amd64
federationhq.de/location: Blumendorf
federationhq.de/compute: true
steps:
- name: github-mirror
image: registry.cloud.federationhq.de/drone-github-mirror:latest
pull: always
settings:
GH_TOKEN:
from_secret: GH_TOKEN
GH_REPO: "byterazor/EventManager"
GH_REPO_DESC: "very simple C++ Event System"
GH_REPO_HOMEPAGE: "https://rm.byterazor.de/projects/eventmanager"
depends_on:
- build-amd64
- build-arm64
---
kind: secret
name: GH_TOKEN
get:
path: github
name: token