Files
spotizarr/.gitea/workflows/spotizarr_deploy.yaml
T
json ea60ca5de9
Remote Server Deploy / run-remote-command (push) Failing after 27s
working on gitea actions
2026-06-18 09:32:50 +00:00

21 lines
616 B
YAML

name: Remote Server Deploy
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/id_ed25519
# 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"