Files
adiuva-api/.gitea/workflows/deploy.yaml
roberto 4c4df7335a
Some checks failed
Deploy to Proxmox Docker / Deploy (push) Failing after 2m11s
auto deploy
2026-03-02 17:41:23 +01:00

21 lines
593 B
YAML

name: Deploy to Proxmox Docker
run-name: Deploying ${{ gitea.sha }}
on:
push:
branches:
- main # O il nome del tuo branch principale
jobs:
Deploy:
runs-on: ubuntu-latest # Questo dipende dalle label che hai dato al tuo act_runner
steps:
- name: Deploying via SSH
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
script: |
cd /opt/adiuva-api
git pull origin main
docker compose up -d --build