Initial deploy
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/deploy unknown status

This commit is contained in:
Reactorcoremeltdown
2026-10-30 10:01:11 +01:00
parent 9c459909c3
commit da503eac2a
6 changed files with 193 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
---
when:
- path:
include:
- 'config/variables/server.values.yaml'
- '.woodpecker/deploy.yaml'
- 'Makefile'
- 'VERSION'
- 'Dockerfile'
- '*.go'
event: push
labels:
role: homeserver
depends_on:
- build
skip_clone: true
steps:
clone:
image: bash
commands:
- git clone --depth=1 ${CI_REPO_CLONE_SSH_URL}
deploy:
image: bash
commands:
- cd ${CI_REPO_NAME} && echo $GIT_SUDO | sudo -S make deploy-server
environment:
GIT_SUDO:
from_secret: git_sudo