ci: deploy interactive BOM to 'bom.ljg.sh'

This commit is contained in:
Luca 2024-01-06 15:06:21 +01:00
parent da2ec6f0e9
commit c0df1e1ef3
1 changed files with 26 additions and 0 deletions

26
.drone.yml Normal file
View File

@ -0,0 +1,26 @@
---
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
target: /var/www/bom.ljg.sh/$DRONE_REPO_NAME.html
source: bom/ibom.html
strip_components: 1
rm: yes
when:
event:
- push
branch:
- main