From 87e818dce5277d9a66d11363518e9911ac6e30fc Mon Sep 17 00:00:00 2001 From: Wesley de Groot Date: Sun, 7 Apr 2024 21:29:46 +0200 Subject: [PATCH] Update build script --- .github/workflows/update_contributors.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_contributors.yml b/.github/workflows/update_contributors.yml index a376244..6f660b6 100644 --- a/.github/workflows/update_contributors.yml +++ b/.github/workflows/update_contributors.yml @@ -61,7 +61,7 @@ jobs: sha=${{ steps.get_sha.outputs.sha }} commit_message="Update Contributors" api_url="https://api.github.com/repos/AuroraEditor/auroraeditor.com/contents/public/data/contributors.json" - json=`"{\"message\": \"$commit_message\", \"content\": \"$(base64 -i contributors.json -w 0)\", \"branch\": \"main\", \"sha\": \"$sha\"}" | tr -d "\n"` + json="{\"message\":\"$commit_message\",\"content\":\"$(base64 -i contributors.json -w 0)\",\"branch\":\"main\",\"sha\":\"$sha\"}" # Use curl to create the commit with the updated JSON file curl -H "Authorization: Bearer $PAT" -X PUT \