diff --git a/.gitea/workflows/monitoring-deploy.yaml b/.gitea/workflows/monitoring-deploy.yaml index 0d5f0d4..5bfd572 100644 --- a/.gitea/workflows/monitoring-deploy.yaml +++ b/.gitea/workflows/monitoring-deploy.yaml @@ -38,10 +38,12 @@ jobs: # secrets.LOKI_URL = https:///loki/api/v1/push - name: Deploy promtail shell: bash + env: + LOKI_URL: "${{ secrets.LOKI_URL }}" run: | # add repo helm repo add grafana https://grafana.github.io/helm-charts # Install & Upgrade helm upgrade --install promtail grafana/promtail --namespace monitoring \ - --values=./monitoring/promtail/values.yaml --set config.clients.url=${{ secrets.LOKI_URL }} --debug + --values=./monitoring/promtail/values.yaml --set config.clients.url=$LOKI_URL --debug