Skip to content

Commit

Permalink
Documentation Pipeline Fix (microsoft#3898)
Browse files Browse the repository at this point in the history
add in permissions to pipeline
  • Loading branch information
tim-allen-ck authored Apr 5, 2024
1 parent 086be33 commit de14165
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@ on:
types: [published]
push:
paths:
- 'docs/**'
- "docs/**"
- mkdocs.yml
branches:
- main
jobs:
deploy:
name: Deploy Documentation
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout main
uses: actions/checkout@v3
Expand All @@ -27,7 +29,7 @@ jobs:
run: |
pip install -r docs/requirements.txt
- name: Configure Git User
# Required by mike for the commit it does to the gh-pages branch
# Required by mike for the commit it does to the gh-pages branch
run: |
git config user.name "ci-docs"
git config user.email "ci-docs@dummy.com"
Expand Down

0 comments on commit de14165

Please sign in to comment.