actions-github #58
@ -47,8 +47,7 @@ jobs:
|
|||||||
otc_swift_project_name: ${{ secrets.OTC_SWIFT_PROJECT_NAME }}
|
otc_swift_project_name: ${{ secrets.OTC_SWIFT_PROJECT_NAME }}
|
||||||
otc_swift_domain: ${{ secrets.OTC_SWIFT_DOMAIN }}
|
otc_swift_domain: ${{ secrets.OTC_SWIFT_DOMAIN }}
|
||||||
otc_swift_endpoint: ${{ secrets.OTC_SWIFT_ENDPOINT }}
|
otc_swift_endpoint: ${{ secrets.OTC_SWIFT_ENDPOINT }}
|
||||||
gitea_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
gitea_server_url: ${{ github.server_url }}
|
|
||||||
repo: ${{ github.repository }}
|
repo: ${{ github.repository }}
|
||||||
pr_number: ${{ github.event.pull_request.number }}
|
pr_number: ${{ github.event.pull_request.number }}
|
||||||
run_id: ${{ github.run_id }}
|
run_id: ${{ github.run_id }}
|
||||||
|
@ -9,14 +9,14 @@ jobs:
|
|||||||
{%- if environment == 'internal' %}
|
{%- if environment == 'internal' %}
|
||||||
- uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/tox-run-env@v1
|
- uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/tox-run-env@v1
|
||||||
with:
|
with:
|
||||||
tox-env: docs
|
tox-env: pdf-docs
|
||||||
|
|
||||||
- name: Upload documentation preview
|
- name: Upload documentation preview
|
||||||
uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/tox-upload-swift@v1
|
uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/tox-upload-swift@v1
|
||||||
{%- elif environment == 'public' %}
|
{%- elif environment == 'public' %}
|
||||||
- uses: opentelekomcloud-infra/github-actions/.github/actions/tox-run-env@v1
|
- uses: opentelekomcloud-infra/github-actions/.github/actions/tox-run-env@v1
|
||||||
with:
|
with:
|
||||||
tox-env: docs
|
tox-env: pdf-docs
|
||||||
|
|
||||||
- name: Upload documentation preview
|
- name: Upload documentation preview
|
||||||
uses: opentelekomcloud-infra/github-actions/.github/actions/tox-upload-swift@v1
|
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_project_name: ${{ secrets.OTC_SWIFT_PROJECT_NAME }}
|
||||||
otc_swift_domain: ${{ secrets.OTC_SWIFT_DOMAIN }}
|
otc_swift_domain: ${{ secrets.OTC_SWIFT_DOMAIN }}
|
||||||
otc_swift_endpoint: ${{ secrets.OTC_SWIFT_ENDPOINT }}
|
otc_swift_endpoint: ${{ secrets.OTC_SWIFT_ENDPOINT }}
|
||||||
gitea_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
gitea_server_url: ${{ github.server_url }}
|
|
||||||
repo: ${{ github.repository }}
|
repo: ${{ github.repository }}
|
||||||
pr_number: ${{ github.event.pull_request.number }}
|
pr_number: ${{ github.event.pull_request.number }}
|
||||||
run_id: ${{ github.run_id }}
|
run_id: ${{ github.run_id }}
|
||||||
|
Reference in New Issue
Block a user