From d406a01f7a6b5a6103e0063fa5a04796ccbd455e Mon Sep 17 00:00:00 2001 From: Roland Kakonyi Date: Mon, 9 Oct 2023 16:23:36 +0200 Subject: [PATCH] feat(apidocs): generate and publish documentation on finishing release --- .github/workflows/finish-release-train.yml | 13 +++++++++++++ .github/workflows/generate-documentation.yml | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/.github/workflows/finish-release-train.yml b/.github/workflows/finish-release-train.yml index 6fc51e78..83a9fd82 100644 --- a/.github/workflows/finish-release-train.yml +++ b/.github/workflows/finish-release-train.yml @@ -5,12 +5,15 @@ on: - closed branches: - main + env: LC_ALL: en_US.UTF-8 LANG: en_US.UTF-8 + concurrency: group: finish-release-train-${{ github.ref_name }} cancel-in-progress: true + jobs: create_pr: if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/v') @@ -88,3 +91,13 @@ jobs: tag: v${{ needs.create_pr.outputs.version_number }} token: ${{ secrets.GITHUB_TOKEN }} body: ${{ steps.changelog.outputs.release_notes }} + + publish_documentation: + needs: [publish_release] + name: Generate API Documentation + uses: ./.github/workflows/generate-documentation.yml + secrets: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + GCS_ACCOUNT: ${{ secrets.GCS_ACCOUNT }} + CF_TOKEN: ${{ secrets.CF_TOKEN }} + CF_ZONEID: ${{ secrets.CF_ZONEID }} diff --git a/.github/workflows/generate-documentation.yml b/.github/workflows/generate-documentation.yml index d2f36f08..71d8a0b9 100644 --- a/.github/workflows/generate-documentation.yml +++ b/.github/workflows/generate-documentation.yml @@ -17,6 +17,10 @@ on: workflow_dispatch: +env: + LC_ALL: en_US.UTF-8 + LANG: en_US.UTF-8 + jobs: generate-documentation: env: