deploy fix
Some checks failed
Deploy SingleChat / deploy (push) Failing after 13s

This commit is contained in:
Torsten Schulz (local)
2026-06-15 16:38:01 +02:00
parent f6e0b95a1f
commit c48c833b65
3 changed files with 25 additions and 4 deletions

View File

@@ -15,6 +15,9 @@ jobs:
SSH_USER: ${{ vars.SSH_USER }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Show resolved non-secret config
run: |
echo "SSH_HOST=$SSH_HOST"
@@ -44,6 +47,24 @@ jobs:
"$SSH_USER@$SSH_HOST" \
"echo SSH OK"
- name: Install deployment script
run: |
set -e
scp -i ~/.ssh/id_deploy \
-o StrictHostKeyChecking=no \
-o BatchMode=yes \
-o ConnectTimeout=10 \
-P "$SSH_PORT" \
scripts/actualize-singlechat.sh \
"$SSH_USER@$SSH_HOST:/tmp/actualize-singlechat.sh"
ssh -i ~/.ssh/id_deploy \
-o StrictHostKeyChecking=no \
-o BatchMode=yes \
-o ConnectTimeout=10 \
-p "$SSH_PORT" \
"$SSH_USER@$SSH_HOST" \
"sudo install -m 755 /tmp/actualize-singlechat.sh /usr/local/bin/actualize-singlechat.sh"
- name: Run deployment script
run: |
set -e