Update .gitlab-ci.yml file

This commit is contained in:
2025-12-23 13:32:45 +01:00
parent 5ce8573013
commit f83ee560c1

View File

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