fix(deploy): mkdir -p imap-idle dir vor scp (first-deploy path fehlt)
scp -r schlaegt fehl wenn Zielverzeichnis nicht existiert. Loest den GH-Actions-Fehler "realpath /srv/rebreak/backend/imap-idle/: No such file". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a24a9c783f
commit
062e542519
3
.github/workflows/deploy-staging.yml
vendored
3
.github/workflows/deploy-staging.yml
vendored
@ -120,6 +120,9 @@ jobs:
|
||||
SSH_HOST: ${{ vars.HETZNER_HOST }}
|
||||
SSH_USER: ${{ vars.HETZNER_USER }}
|
||||
run: |
|
||||
# Zielverzeichnis sicherstellen (erster Deploy: existiert noch nicht)
|
||||
ssh -i ~/.ssh/id_ed25519 "$SSH_USER@$SSH_HOST" \
|
||||
'mkdir -p /srv/rebreak/backend/imap-idle'
|
||||
scp -r -i ~/.ssh/id_ed25519 imap-idle/ \
|
||||
"$SSH_USER@$SSH_HOST:/srv/rebreak/backend/imap-idle/"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user