]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
👷 Update MkDocs Material token (#9843)
authorSebastián Ramírez <tiangolo@gmail.com>
Sun, 9 Jul 2023 15:39:42 +0000 (17:39 +0200)
committerGitHub <noreply@github.com>
Sun, 9 Jul 2023 15:39:42 +0000 (17:39 +0200)
.github/workflows/build-docs.yml

index a155ecfeca6cce099947fcb9a86aa0860b87f9c4..19009447b0b156875b3a2df2f96ce0e2d1824289 100644 (file)
@@ -51,7 +51,7 @@ jobs:
       # Install MkDocs Material Insiders here just to put it in the cache for the rest of the steps
       - name: Install Material for MkDocs Insiders
         if: ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false ) && steps.cache.outputs.cache-hit != 'true'
-        run: pip install git+https://${{ secrets.ACTIONS_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
+        run: pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/squidfunk/mkdocs-material-insiders.git
       - name: Export Language Codes
         id: show-langs
         run: |
@@ -86,7 +86,7 @@ jobs:
         run: pip install -r requirements-docs.txt
       - name: Install Material for MkDocs Insiders
         if: ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false ) && steps.cache.outputs.cache-hit != 'true'
-        run: pip install git+https://${{ secrets.ACTIONS_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
+        run: pip install git+https://${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}@github.com/squidfunk/mkdocs-material-insiders.git
       - name: Update Languages
         run: python ./scripts/docs.py update-languages
       - uses: actions/cache@v3