Gitea actions templates (#57)
All checks were successful
Create Weekly Analytics Stats / run-analytics (push) Successful in 7s
All checks were successful
Create Weekly Analytics Stats / run-analytics (push) Successful in 7s
Reviewed-on: #57 Reviewed-by: Tino Schreiber <tino.schreiber@t-systems.com> Co-authored-by: Sebastian Gode <sebastian.gode@telekom.de> Co-committed-by: Sebastian Gode <sebastian.gode@telekom.de>
This commit is contained in:
30
otc_metadata/templates/build-pdf-docs.yaml.j2
Normal file
30
otc_metadata/templates/build-pdf-docs.yaml.j2
Normal file
@ -0,0 +1,30 @@
|
||||
name: Build PDF Docs
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize, edited]
|
||||
jobs:
|
||||
tox-pdf-docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/tox-run-env@v1
|
||||
with:
|
||||
tox-env: pdf-docs
|
||||
|
||||
- name: Upload documentation preview
|
||||
uses: https://github.com/opentelekomcloud-infra/github-actions/.github/actions/tox-upload-swift@v1
|
||||
with:
|
||||
docs_path: "doc/build/pdf"
|
||||
docs_service: {{ service_uri }}
|
||||
swift_container: "gitea_action_logs"
|
||||
{% raw -%}
|
||||
otc_swift_username: ${{ secrets.OTC_SWIFT_USERNAME }}
|
||||
otc_swift_password: ${{ secrets.OTC_SWIFT_PASSWORD }}
|
||||
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.GITEA_TOKEN }}
|
||||
gitea_server_url: ${{ gitea.server_url }}
|
||||
repo: ${{ gitea.repository }}
|
||||
pr_number: ${{ gitea.event.pull_request.number }}
|
||||
run_id: ${{ gitea.run_id }}
|
||||
{%- endraw %}
|
Reference in New Issue
Block a user