Skip to content

armgit / core

Public Imported from GitHub
0

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

Added deploy-demo rule to the gitlab pipeline

Michal Rutka6b606eb9c90a
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 97b29dded..66d5e2e21 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -203,6 +203,9 @@ deploy demo on OVH:
- if: $CI_COMMIT_BRANCH == "master"
if: $CI_COMMIT_MESSAGE !~ /skip-deploy/
when: manual
+ - if: $CI_COMMIT_BRANCH == "master"
+ if: $CI_COMMIT_MESSAGE =~ /deploy-demo/
+ when: on_success
variables:
DEPLOYMENT_HOST: ${PROJECT_NAME}.openremote.io
SETUP_WIPE_CLEAN_INSTALL: 'true'