Skip to content

armgit / core

Public Imported from GitHub
0

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

Fix release deployment (#1568)

Wouter Borna7fcec181f04
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 82ded6b5b..2b156174b 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -459,7 +459,7 @@ jobs:
run: |
deployments=$DEPLOYMENTS
- if [ "$GITHUB_EVENT_NAME" == 'workflow_dispatch' ]; then
+ if [ "$GITHUB_EVENT_NAME" == 'workflow_dispatch' ] && [ "$GITHUB_REF_TYPE" != 'tag' ]; then
tag="$INPUT_MANAGER_TAG"
if [ -z "$INPUT_MANAGER_TAG" ]; then
tag='#ref'