ci: deploy interactive BOM to 'bom.ljg.sh'
This commit is contained in:
parent
ecbeadff99
commit
14d375a62b
|
@ -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}
|
||||||
|
source: electrical/bom/ibom.html
|
||||||
|
strip_components: 2
|
||||||
|
overwrite: yes
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
branch:
|
||||||
|
- main
|
Loading…
Reference in New Issue