diff --git a/.woodpecker/predeploy.yml b/.woodpecker/predeploy.yml index f599c3f..8c326e0 100644 --- a/.woodpecker/predeploy.yml +++ b/.woodpecker/predeploy.yml @@ -24,13 +24,13 @@ steps: commands: - printf "$KUBE_CONFIG_CONTENT" > /tmp/kubeconfig - export KUBECONFIG=/tmp/kubeconfig - - kubectl create configmap home-automation-config \ - --from-file=devices=config/devices.yaml \ - --from-file=groups=config/groups.yaml \ - --from-file=layout=config/layout.yaml \ - --from-file=rules=config/rules.yaml \ - --from-file=scenes=config/scenes.yaml \ - --namespace=$NAMESPACE \ + - kubectl create configmap home-automation-config + --from-file=devices=config/devices.yaml + --from-file=groups=config/groups.yaml + --from-file=layout=config/layout.yaml + --from-file=rules=config/rules.yaml + --from-file=scenes=config/scenes.yaml + --namespace=$NAMESPACE --dry-run=client -o yaml | kubectl apply -f - when: event: [tag]