diff --git a/.github/workflows/upload-dashboards.yaml b/.github/workflows/upload-dashboards.yaml index c0a2edf20..6f3ceabd1 100644 --- a/.github/workflows/upload-dashboards.yaml +++ b/.github/workflows/upload-dashboards.yaml @@ -24,7 +24,7 @@ jobs: # Encode username:password to base64 # Pass encoded auth to txt file - echo "${{ secrets.GRAFANA_USERNAME }}:${{ secrets.GRAFANA_PASSWORD }}" | base64 > auth.txt + echo -n "${{ secrets.GRAFANA_USERNAME }}:${{ secrets.GRAFANA_PASSWORD }}" | base64 > auth.txt # Init variable with base64 auth auth=$(cat auth.txt)