Skip to content

Commit

Permalink
Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
0xWDG committed Apr 7, 2024
1 parent 871aa97 commit 87e818d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update_contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 87e818d

Please sign in to comment.