Skip to content

Commit

Permalink
pass token
Browse files Browse the repository at this point in the history
  • Loading branch information
chalcolith committed Nov 1, 2024
1 parent ca53491 commit bc56f75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main-push-update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ jobs:
rm -rf ./chalcolith.github.io/eohippus/*
cp -a ./build/eohippus-docs/site/* ./chalcolith.github.io/eohippus/
- name: Commit
env:
SITE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd ./chalcolith.github.io/eohippus
git config user.name "GitHub Actions"
git config user.email "<>"
git remote set-url --push origin https://chalcolith:$SITE_TOKEN@github.com/chalcolith/chalcolith.github.io
git commit -a -m "Updated Eohippus docs on `date`"
git push

0 comments on commit bc56f75

Please sign in to comment.