Skip to content

Commit

Permalink
Try to fix gh-pages actions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkroh committed Feb 25, 2021
1 parent 1c7e225 commit d9e6b4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: publish gh-pages
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: |
git config user.name "Github Actions"
git config user.email "[email protected]"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git config --local user.email "$(git log --format='%ae' HEAD^!)"
git config --local user.name "$(git log --format='%an' HEAD^!)"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
VERSION=${{ github.sha }} make gh-pages

0 comments on commit d9e6b4d

Please sign in to comment.