diff --git a/otc_metadata/templates/build-html-docs.yaml.j2 b/otc_metadata/templates/build-html-docs.yaml.j2
index a1a468d..77afa5a 100644
--- a/otc_metadata/templates/build-html-docs.yaml.j2
+++ b/otc_metadata/templates/build-html-docs.yaml.j2
@@ -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 }}
diff --git a/otc_metadata/templates/build-pdf-docs.yaml.j2 b/otc_metadata/templates/build-pdf-docs.yaml.j2
index 7aa3f1a..80ae258 100644
--- a/otc_metadata/templates/build-pdf-docs.yaml.j2
+++ b/otc_metadata/templates/build-pdf-docs.yaml.j2
@@ -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 }}