100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
Fix custom project deployment (#1559)
Wouter Borned5c617d0bc8
diff --git a/.ci_cd/deploy.sh b/.ci_cd/deploy.shindex 3a96ba1c7..f0bf82ea5 100644--- a/.ci_cd/deploy.sh+++ b/.ci_cd/deploy.sh@@ -51,7 +51,7 @@ HOST="$OR_HOSTNAME"# Copy CI/CD files into temp direcho "Copying CI/CD files into temp dir"-if [ "$IS_CUSTOM_PROJECT" == 'true' ]; then+if [ "$IS_MAIN_REPO" == 'false' ]; thencp -r openremote/.ci_cd/host_init temp/cp -r openremote/.ci_cd/aws temp/fidiff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex 5aa628f0e..82ded6b5b 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -935,6 +935,7 @@ jobs:os.system("echo 'One or more deployments failed'")sys.exit(1)env:+ IS_CUSTOM_PROJECT: ${{ steps.is_main_repo.outputs.value == 'false' }}IS_MAIN_REPO: ${{ steps.is_main_repo.outputs.value }}DEPLOYMENTS: ${{ steps.deployments.outputs.value }}MANAGER_DOCKER_BUILD_PATH: ${{ steps.manager-docker-command.outputs.buildPath }}