Fix GitHub Token
All checks were successful
Run Tox Check / tox-py312 (pull_request) Successful in 17s
Run Tox Check / tox-pep8 (pull_request) Successful in 15s

This commit is contained in:
2025-10-06 08:19:55 +00:00
parent 770391518d
commit 1dbc4f0122
2 changed files with 4 additions and 6 deletions

View File

@ -9,14 +9,14 @@ jobs:
{%- if environment == 'internal' %}
- uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/tox-run-env@v1
with:
tox-env: docs
tox-env: pdf-docs
- name: Upload documentation preview
uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/tox-upload-swift@v1
{%- elif environment == 'public' %}
- uses: opentelekomcloud-infra/github-actions/.github/actions/tox-run-env@v1
with:
tox-env: docs
tox-env: pdf-docs
- name: Upload documentation preview
uses: opentelekomcloud-infra/github-actions/.github/actions/tox-upload-swift@v1
@ -47,8 +47,7 @@ jobs:
otc_swift_project_name: ${{ secrets.OTC_SWIFT_PROJECT_NAME }}
otc_swift_domain: ${{ secrets.OTC_SWIFT_DOMAIN }}
otc_swift_endpoint: ${{ secrets.OTC_SWIFT_ENDPOINT }}
gitea_token: ${{ secrets.GITHUB_TOKEN }}
gitea_server_url: ${{ github.server_url }}
github_token: ${{ secrets.GITHUB_TOKEN }}
repo: ${{ github.repository }}
pr_number: ${{ github.event.pull_request.number }}
run_id: ${{ github.run_id }}