Wechsel zu Woodpecker
All checks were successful
ci/woodpecker/push/default Pipeline was successful

This commit is contained in:
Daniel Spittank 2022-06-05 02:15:34 +02:00
parent d45e6b54d0
commit 65bb70ff61
3 changed files with 23 additions and 46 deletions

View file

@ -1,45 +0,0 @@
---
kind: pipeline
type: docker
name: build
steps:
- name: build
image: ghcr.io/narolinus/mkdocs-material-insiders
volumes:
- name: site
path: /site
commands:
# - pip install -U -r ./requirements.txt
- mkdocs build
- cp -r site/ /site
- chmod -R 700 /site
- name: deploy
image: drillster/drone-rsync
volumes:
- name: site
path: /site
settings:
hosts: [ "sn42.de" ]
port: 6666
delete: true
recursive: true
user:
from_secret: deploy_ssh_user
key:
from_secret: deploy_ssh_key
source: /site/
target: htdocs
volumes:
- name: site
temp: {}
image_pull_secrets:
- DockerCredsGithub
---
kind: signature
hmac: fce93c3ea4b9b10e9406185a4c29026aac8b1db40f4d329d7c8aab5e8337a5f6
...

22
.woodpecker/default.yml Normal file
View file

@ -0,0 +1,22 @@
pipeline:
build:
image: ghcr.io/narolinus/mkdocs-material-insiders
commands:
# - pip install -U -r ./requirements.txt
- mkdocs build
- chmod -R 700 site
deploy:
image: drillster/drone-rsync
settings:
hosts: [ "sn42.de" ]
port: 6666
delete: true
recursive: true
user:
from_secret: deploy_ssh_user
key:
from_secret: deploy_ssh_key
source: site/
target: htdocs

View file

@ -3,4 +3,4 @@
Inhalt der [Webseite](https://sn42.de) Inhalt der [Webseite](https://sn42.de)
## Build-Status ## Build-Status
[![Build Status](https://drone.spittank.org/api/badges/Spittank.net/Sn42.de/status.svg)](https://drone.spittank.org/Spittank.net/Sn42.de) [![status-badge](https://ci.spittank.org/api/badges/Spittank.net/Sn42.de/status.svg)](https://ci.spittank.org/Spittank.net/Sn42.de)