diff --git a/.github/workflows/cd-apps.yml b/.github/workflows/cd-apps.yml index 133700a..9fb0fa6 100644 --- a/.github/workflows/cd-apps.yml +++ b/.github/workflows/cd-apps.yml @@ -112,7 +112,7 @@ jobs: docker compose ps # Annotate deploy in Grafana - GRAFANA_TOKEN=$(grep GRAFANA_SERVICE_TOKEN app.env | cut -d= -f2-) + GRAFANA_TOKEN=$(grep GRAFANA_SERVICE_TOKEN .env | cut -d= -f2- 2>/dev/null) if [ -n "$GRAFANA_TOKEN" ]; then docker compose exec -T grafana wget -q -O /dev/null \ --header="Authorization: Bearer $GRAFANA_TOKEN" \