Update .gitlab-ci.yml file

This commit is contained in:
2025-12-23 12:25:05 +01:00
parent db5209e3fb
commit 0c1b624972

View File

@@ -38,7 +38,7 @@ build-job: # This job runs in the build stage, which runs first.
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- ls -la
- pyinstaller --onefile --clean --hidden-import=portainer_api --paths=. portainer.py
- pyinstaller --onefile portainer.py
- scp -o ConnectTimeout=$SSH_CONNECTION_TIMEOUT -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@192.168.80.222:/myapps/bin/ || true
- scp -o ConnectTimeout=$SSH_CONNECTION_TIMEOUT -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@192.168.77.12:/myapps/bin/ || true
- scp -o ConnectTimeout=$SSH_CONNECTION_TIMEOUT -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null dist/portainer jd@192.168.77.101:/myapps/bin/ || true