add bot token since gh actions doesn't allow pushing to protected branch

This commit is contained in:
Jonathan Wren 2020-11-21 12:03:13 -08:00
parent 142e6f597e
commit af6316a91e
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A

View file

@ -78,5 +78,5 @@ jobs:
git config user.name "Jrnl Bot" git config user.name "Jrnl Bot"
git add "$FILENAME" git add "$FILENAME"
git commit -m "Update changelog" git commit -m "Update changelog"
git push origin $BRANCH git push https://${JRNL_BOT_TOKEN}@github.com/jrnl-org/jrnl.git $BRANCH