diff --git a/.drone.yml b/.drone.yml index 84c8ca4..e85f9f4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,29 +1,21 @@ ---- kind: pipeline -type: ssh -name: Tutorial - -server: - host: mephis.to - user: mephisto - ssh_key: - from_secret: rsa_key - -clone: - disable: false +type: docker +name: deploy-to-remote 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: copy-file-over-ssh + image: appleboy/drone-ssh + settings: + host: mephis.to + username: mephisto + port: 22 + ssh_key: + 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 - commands: - - whoami - - pwd - - hostname +trigger: + branch: + -main diff --git a/schedule/schedule.md b/schedule/schedule.md index d2feb03..a50767b 100755 --- a/schedule/schedule.md +++ b/schedule/schedule.md @@ -5,4 +5,4 @@ title = 'Schedule' | 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 |