actions-github #58

Merged
tischrei merged 9 commits from actions-github into main 2025-10-08 06:45:16 +00:00
4 changed files with 74 additions and 23 deletions
Showing only changes of commit 1dbc4f0122 - Show all commits

View File

@ -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 }}

View File

@ -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 }}