forked from microsoft/AzureTRE
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation Pipeline Fix (microsoft#3898)
add in permissions to pipeline
- Loading branch information
Tim Allen
authored
Apr 5, 2024
1 parent
086be33
commit de14165
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 "[email protected]" | ||
|