From bc48ed2228b1ddeed7c7fc6e9bce9b548c1070cf Mon Sep 17 00:00:00 2001 From: Eduard Iten Date: Sun, 4 Jan 2026 12:40:24 +0100 Subject: [PATCH] Actionmtest --- .gitea/workflows/deploy.yaml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index f1740b4..25a421c 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -26,20 +26,7 @@ jobs: .venv/bin/python -m mkdocs build -f doc/mkdocs.yml - name: Deploy via rsync - shell: bash - env: - SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }} - SSH_HOST: ${{ secrets.DEPLOY_HOST }} run: | - # 1. Den SSH-Key aus dem Secret in eine temporäre Datei schreiben - echo "$SSH_KEY" > deploy_key - chmod 600 deploy_key - - # 2. Rsync ausführen - # -e konfiguriert SSH so, dass der Key genutzt wird und die Host-Prüfung entfällt /usr/bin/rsync -avzr --delete \ -e "ssh -i deploy_key -o StrictHostKeyChecking=no" \ ./doc/site/ deploy@$SSH_HOST:/var/www/pages/lasertag - - # 3. Sicherheit: Key-Datei nach dem Transfer sofort löschen - rm deploy_key \ No newline at end of file