From c0df1e1ef3a3ab5f2898181a29b2fe606c2e19c7 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 6 Jan 2024 15:06:21 +0100 Subject: [PATCH] ci: deploy interactive BOM to 'bom.ljg.sh' --- .drone.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..fc6f845 --- /dev/null +++ b/.drone.yml @@ -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