~vam-jam/vamist.dev

7ec0ed6dc13c1961e8c8892b34e967b99acc6f11 — Vamist 3 months ago ec8de3f
[fix] Pass api_key in correctly

Curl ' ' doesnt allow enviroment passing
1 files changed, 2 insertions(+), 2 deletions(-)

M .build.yml
M .build.yml => .build.yml +2 -2
@@ 27,7 27,7 @@ tasks:
      api_key=$(cat ~/.bunnycdn)
      curl --request POST \
        --url https://api.bunny.net/pullzone/1566807/purgeCache \
        --header 'AccessKey: $api_key' \
        --header 'content-type: application/json' /dev/null 2>&1
        --header "AccessKey: "${api_key}"" \
        --header 'content-type: application/json' >/dev/null 2>&1
      set -x