Add .drone.yml
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
Bastian Mäuser
2025-06-13 10:22:40 +02:00
parent 768c5e3fdb
commit 7660344d9c

29
.drone.yml Normal file
View File

@@ -0,0 +1,29 @@
---
kind: pipeline
type: ssh
name: Tutorial
server:
host: mephis.to
user: mephisto
ssh_key:
from_secret: rsa_key
clone:
disable: false
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