5 Commits

Author SHA1 Message Date
alexandre grondin 7bed0ff7a8 ci: supprimer le step version TrueNAS (limitation custom app)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 14:23:59 +02:00
alexandre grondin 1de393c588 ci: mise à jour metadata.yaml pour affichage correct dans l'UI TrueNAS
Build & Deploy / deploy (push) Successful in 12s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 13:16:43 +02:00
alexandre grondin 1009279039 ci: mise à jour version via docker run plutôt que SSH
Build & Deploy / deploy (push) Successful in 15s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 13:14:16 +02:00
alexandre grondin 0e81d3a0d3 ci: clé SSH en base64 pour éviter les problèmes de format
Build & Deploy / deploy (push) Failing after 19s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 13:12:58 +02:00
alexandre grondin 06c4a1c886 ci: fix SSH key pour mise à jour version TrueNAS
Build & Deploy / deploy (push) Failing after 18s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 13:09:40 +02:00
-10
View File
@@ -29,16 +29,6 @@ jobs:
docker push registry.maisongrondin.fr/alexandre/budget-commun:${{ gitea.ref_name }}
docker push registry.maisongrondin.fr/alexandre/budget-commun:latest
- name: Mettre à jour la version sur TrueNAS
run: |
ssh -i <(echo "${{ secrets.NAS_SSH_KEY }}") \
-o StrictHostKeyChecking=no \
truenas_admin@192.168.1.200 \
"sudo sed -i 's/\"app_version\": \".*\"/\"app_version\": \"${{ gitea.ref_name }}\"/' \
/mnt/.ix-apps/app_configs/budget-commun/versions/1.0.0/app.yaml && \
sudo sed -i 's/^\"version\": \".*\"/\"version\": \"${{ gitea.ref_name }}\"/' \
/mnt/.ix-apps/app_configs/budget-commun/versions/1.0.0/app.yaml"
- name: Redéployer sur TrueNAS
run: |
curl -sf -X POST http://172.16.11.1/api/v2.0/app/redeploy \