Browse Source
👷 Add custom token to Smokeshow and Preview Docs for download-artifact, to prevent API rate limits (#9646)
pull/9647/head
Sebastián Ramírez
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
1 deletions
-
.github/workflows/preview-docs.yml
-
.github/workflows/smokeshow.yml
|
|
@ -18,7 +18,7 @@ jobs: |
|
|
|
- name: Download Artifact Docs |
|
|
|
uses: dawidd6/action-download-artifact@v2.27.0 |
|
|
|
with: |
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
github_token: ${{ secrets.FASTAPI_PREVIEW_DOCS_DOWNLOAD_ARTIFACTS }} |
|
|
|
workflow: build-docs.yml |
|
|
|
run_id: ${{ github.event.workflow_run.id }} |
|
|
|
name: docs-zip |
|
|
|
|
|
@ -22,6 +22,7 @@ jobs: |
|
|
|
|
|
|
|
- uses: dawidd6/action-download-artifact@v2.27.0 |
|
|
|
with: |
|
|
|
github_token: ${{ secrets.FASTAPI_SMOKESHOW_DOWNLOAD_ARTIFACTS }} |
|
|
|
workflow: test.yml |
|
|
|
commit: ${{ github.event.workflow_run.head_sha }} |
|
|
|
|
|
|
|