Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fix on-failure production skip-build

Michal Rutkab4353e58131e
diff --git a/gitlab-ci/gitlab-ci-submodule.yml b/gitlab-ci/gitlab-ci-submodule.yml
index ea4e6dddd..a31cc9229 100644
--- a/gitlab-ci/gitlab-ci-submodule.yml
+++ b/gitlab-ci/gitlab-ci-submodule.yml
@@ -200,6 +200,7 @@ deploy production:
deploy production clean:
stage: deploy_production_clean
when: on_failure
+ needs: ["build production docker images"]
variables:
DEPLOYMENT_HOST: ${PROJECT_NAME}.${DOMAIN}
SETUP_WIPE_CLEAN_INSTALL: 'true'