Skip to content

Commit

Permalink
try json env var
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-webber committed May 14, 2024
1 parent d2f5016 commit bb212f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ jobs:
id: update-grafana-dashboards
env:
KUBE_NAMESPACE: ${{ secrets.kube_namespace }}
DASHBOARDS: ("datahub-status-dashboard" "datahub-deployment-dashboard")
DASHBOARDS: '["datahub-status-dashboard", "datahub-deployment-dashboard"]''
run: |
for DASHBOARD in ${DASHBOARDS}
for DASHBOARD in fromJSON(${DASHBOARDS})
do
kubectl create configmap ${DASHBOARD} \
--from-file=helm_deploy/monitoring/datahub-dashboard.json \
Expand Down

0 comments on commit bb212f2

Please sign in to comment.