Authenticate with GitHub in Action

This commit is contained in:
karashiiro 2021-05-28 11:36:51 -07:00 committed by GitHub
parent 07f4696483
commit 61865ce834
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,5 +19,6 @@ jobs:
run: | run: |
git config --global user.email "noreply@example.com" git config --global user.email "noreply@example.com"
git config --global user.name Documentation git config --global user.name Documentation
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
npm install npm install
npm run docs:deploy npm run docs:deploy