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 4f85d52 commit 2dc7e4f
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 (`date`)"
api_url="https://api.github.com/repos/AuroraEditor/auroraeditor.com/contents/public/data/contributors.json"
json="{\"message\": \"$commit_message\", \"content\": \"$(base64 -i contributors.json | tr -d "\n")\", \"branch\": \"main\", \"sha\": \"$sha\"}"
json="{\"message\": \"$commit_message\", \"content\": \"$(base64 <<< `cat contributors.json`)\", \"branch\": \"main\", \"sha\": \"$sha\"}"
echo "JSON: $json"
# Use curl to create the commit with the updated JSON file
Expand Down

0 comments on commit 2dc7e4f

Please sign in to comment.