2024-01-06 15:06:21 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: deploy BOM
|
|
|
|
image: appleboy/drone-scp
|
|
|
|
settings:
|
|
|
|
host: dragon.luj0ga.de
|
|
|
|
port: 4222
|
|
|
|
username: www-data
|
|
|
|
key:
|
|
|
|
from_secret: ssh_key
|
|
|
|
passphrase:
|
|
|
|
from_secret: ssh_passphrase
|
2024-01-06 15:19:36 +01:00
|
|
|
target: /var/www/bom.ljg.sh/${DRONE_REPO_NAME}
|
2024-01-06 15:06:21 +01:00
|
|
|
source: bom/ibom.html
|
|
|
|
strip_components: 1
|
2024-01-06 15:19:36 +01:00
|
|
|
overwrite: yes
|
2024-01-06 15:06:21 +01:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
branch:
|
|
|
|
- main
|