Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Publish Documentation
permissions:
contents: write
on:
# Trigger the workflow on push,
# but only for the main branch
Expand Down Expand Up @@ -36,12 +38,12 @@ jobs:
- name: Publish Content
if: ${{ inputs.prod_release }}
env:
GIT_USER: ${{ secrets.GIT_USER }}
GIT_PASS: ${{ secrets.GIT_USER_TOKEN }}
GIT_USER: x-access-token
GIT_PASS: ${{ secrets.GITHUB_TOKEN }}
run: |
cd docs
git config --global user.name "${{ secrets.GIT_USER }}"
git config --global user.email "${{ secrets.GIT_USER_EMAIL }}"
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
if [ -e package-lock.json ]; then
npm ci
else
Expand Down