Use drone-ssh

This commit is contained in:
Bastian Mäuser
2025-06-13 10:38:49 +02:00
parent 7660344d9c
commit c2ea1ed9e5
2 changed files with 18 additions and 26 deletions

View File

@@ -1,29 +1,21 @@
---
kind: pipeline kind: pipeline
type: ssh type: docker
name: Tutorial name: deploy-to-remote
server:
host: mephis.to
user: mephisto
ssh_key:
from_secret: rsa_key
clone:
disable: false
steps: steps:
- name: clone - name: copy-file-over-ssh
environment: image: appleboy/drone-ssh
KEY: settings:
from_secret: ssh_key host: mephis.to
commands: username: mephisto
- echo "$KEY" > $HOME/.ssh/id_git_rsa port: 22
- git clone ssh://git@git.netz.org:222/mephisto/clubbing-content.git /home/mephisto/cc/content ssh_key:
- git checkout $DRONE_COMMIT from_secret: ssh-key
source: content/schedule/schedule.md
target: /home/mephisto/cc/content/schedule/schedule.md
known_hosts: |
mephis.to ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGLbFtFq1xLwNG8YjKxc46/LQpAnKnZcf0ICq01ZXHfa
- name: Show Environment trigger:
commands: branch:
- whoami -main
- pwd
- hostname

View File

@@ -5,4 +5,4 @@ title = 'Schedule'
| Time | Event | Location | Artist/Set | | Time | Event | Location | Artist/Set |
|------------------- | -------------- | --------------- | -- | |------------------- | -------------- | --------------- | -- |
| 19.06.2025 23:30CEST | GPN23 | ZKM Karlsruhe (Main Floor / Lounge) | Demon Core [mephisto] :: Borderlime | | 19.06.2025 23:30CEST | GPN23 | ZKM Karlsruhe (Main Floor / Lounge) | Demon Core [mephisto] :: TBA |