Added helm update to deployment
All checks were successful
Build & Push / build (push) Successful in 1m45s

This commit is contained in:
Caesar2011
2026-05-18 17:16:42 +02:00
parent ee139f9518
commit 67646c80d2

View File

@@ -102,3 +102,16 @@ jobs:
https://${{ env.REGISTRY }}/api/packages/sebse/helm/api/charts \
-F "chart=@factorio-signal-exporter-0.0.0-latest.tgz" \
--fail-with-body
- name: Deploy to prod
run: |
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
mkdir -p ~/.ssh
echo "${{ secrets.HELMBOT_SSH_KEY }}" > ~/.ssh/helmbot_deploy
chmod 600 ~/.ssh/helmbot_deploy
ssh -i ~/.ssh/helmbot_deploy \
-o StrictHostKeyChecking=no \
-p 1234 \
helmbot@84.247.134.31 \
" -s factorio-signal-exporter -p prod -v 0.0.0-${SHORT_SHA}"
rm ~/.ssh/helmbot_deploy