mirror of
https://github.com/cryptomator/cryptomator.git
synced 2024-11-23 12:09:45 +00:00
replace failing curl with http-request-action
[ci skip]
This commit is contained in:
parent
0fdc5b2826
commit
6d082330e6
16
.github/workflows/dl-stats.yml
vendored
16
.github/workflows/dl-stats.yml
vendored
@ -53,12 +53,10 @@ jobs:
|
||||
INTERVAL: 900
|
||||
JSON_DATA: ${{ steps.get-stats.outputs.result }}
|
||||
- name: Upload Results
|
||||
id: upload-stats
|
||||
run: |
|
||||
echo ${STATS} | curl -X POST -H "Authorization: Bearer ${BEARER_TOKEN}" -H "Content-Type: application/json" "https://graphite-us-central1.grafana.net/metrics" --data-binary @-
|
||||
env:
|
||||
BEARER_TOKEN : ${{ secrets.GRAFANA_GRAPHITE_TOKEN }}
|
||||
STATS: ${{ steps.transform-stats.outputs.result }}
|
||||
|
||||
|
||||
|
||||
uses: fjogeleit/http-request-action@v1
|
||||
with:
|
||||
url: 'https://graphite-us-central1.grafana.net/metrics'
|
||||
method: 'POST'
|
||||
contentType: 'application/json'
|
||||
bearerToken: ${{ secrets.GRAFANA_GRAPHITE_TOKEN }}
|
||||
data: ${{ steps.transform-stats.outputs.result }}
|
||||
|
Loading…
Reference in New Issue
Block a user