yet more gitea
Remote SSH Deployment / deploy_to_ubuntu (push) Failing after 58s

This commit is contained in:
2026-06-18 12:10:25 +00:00
parent 0471e98a8b
commit 98e217eb73
2 changed files with 42 additions and 12 deletions
+40 -12
View File
@@ -1,20 +1,48 @@
name: Remote Server Deploy
on: [push]
name: Remote SSH Deployment
on:
push:
branches:
- main
jobs: jobs:
run-remote-command: deploy_to_ubuntu:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup SSH - name: Execute remote SSH commands
run: | uses: appleboy/ssh-action@v1.0.3
mkdir -p ~/.ssh with:
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519 host: ${{ secrets.SSH_HOST }}
chmod 600 ~/.ssh/id_ed25519 username: ${{ secrets.SSH_USER }}
ssh-keyscan -H ${{ secrets.REMOTE_HOST }} >> ~/.ssh/known_hosts key: ${{ secrets.SSH_KEY }}
port: 22
script: |
cd /containers/servarr/spotizarr
git pull origin main
docker compose down && docker compose up -d
- name: Execute Remote Command
run: | # name: Remote Server Deploy
ssh ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }} "cd /containers/servarr/spotizarr && git pull && docker compose up -d" # on: [push]
# jobs:
# run-remote-command:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Setup SSH
# run: |
# mkdir -p ~/.ssh
# echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
# chmod 600 ~/.ssh/cat ~/.ssh/id_ed25519.pub
# ssh-keyscan -H ${{ secrets.REMOTE_HOST }} >> ~/.ssh/known_hosts
# - name: Execute Remote Command
# run: |
# ssh ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }} "cd /containers/servarr/spotizarr && git pull && docker compose up -d"
+2
View File
@@ -38089,3 +38089,5 @@ redis.exceptions.ConnectionError: Connection closed by server.
2026-06-18 07:33:34 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. 2026-06-18 07:33:34 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks.
2026-06-18 08:33:34 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. 2026-06-18 08:33:34 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks.
2026-06-18 09:33:34 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks. 2026-06-18 09:33:34 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks.
2026-06-18 10:33:34 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks.
2026-06-18 11:33:34 [INFO] Watch Scheduler: Watch feature is disabled in config. Skipping checks.