Skip to content

Commit

Permalink
Try fixing GitHub auth
Browse files Browse the repository at this point in the history
  • Loading branch information
talmo committed Nov 4, 2024
1 parent 7fd9232 commit e2d7c02
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ jobs:
docs:
name: Docs
runs-on: "ubuntu-latest"
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand All @@ -38,6 +42,11 @@ jobs:
conda list
pip freeze
- name: Setup Git user
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
- name: Build and upload docs (release)
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
shell: bash -l {0}
Expand Down

0 comments on commit e2d7c02

Please sign in to comment.