From 153bfdd3308a7ca2aa5b1d9a5e90476f8fe9c311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=A4user?= Date: Fri, 13 Jun 2025 10:22:40 +0200 Subject: [PATCH] Add .drone.yml --- .drone.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..0fe2ecf --- /dev/null +++ b/.drone.yml @@ -0,0 +1,29 @@ +--- +kind: pipeline +type: ssh +name: Tutorial + +server: + host: mephis.to + user: mephisto + ssh_key: + from_secret: rsa_key + +clone: + disable: true + +steps: + - name: clone + environment: + KEY: + from_secret: ssh_key + commands: + - echo "$KEY" > $HOME/.ssh/id_git_rsa + - git clone ssh://git@git.netz.org:222/mephisto/clubbing-content.git /home/mephisto/cc/content + - git checkout $DRONE_COMMIT + + - name: Show Environment + commands: + - whoami + - pwd + - hostname