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 73 additions and 24 deletions
Showing only changes of commit 64a18eedb5 - Show all commits

View File

@ -6,12 +6,21 @@ jobs:
tox-docs: tox-docs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
{%- 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: 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' %}
- uses: opentelekomcloud-infra/github-actions/.github/actions/tox-run-env@v1
with:
tox-env: docs
- name: Upload documentation preview
uses: opentelekomcloud-infra/github-actions/.github/actions/tox-upload-swift@v1
{%- endif %}
with: with:
docs_path: "doc/build/html" docs_path: "doc/build/html"
docs_service: {{ service_uri }} docs_service: {{ service_uri }}

View File

@ -6,12 +6,21 @@ jobs:
tox-pdf-docs: tox-pdf-docs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
{%- 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: pdf-docs tox-env: 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' %}
- uses: opentelekomcloud-infra/github-actions/.github/actions/tox-run-env@v1
with:
tox-env: docs
- name: Upload documentation preview
uses: opentelekomcloud-infra/github-actions/.github/actions/tox-upload-swift@v1
{%- endif %}
with: with:
docs_path: "doc/build/pdf" docs_path: "doc/build/pdf"
docs_service: {{ service_uri }} docs_service: {{ service_uri }}