From 9132f4a1242a5ffc44af0468940e4f7ecb831282 Mon Sep 17 00:00:00 2001 From: kozub Date: Tue, 18 Jul 2023 15:17:33 +0200 Subject: [PATCH 1/5] docs: add support for docs versioning (#1239) --- .github/workflows/on-doc-merge.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/on-doc-merge.yml diff --git a/.github/workflows/on-doc-merge.yml b/.github/workflows/on-doc-merge.yml new file mode 100644 index 000000000..2cea171dc --- /dev/null +++ b/.github/workflows/on-doc-merge.yml @@ -0,0 +1,21 @@ +name: Docs + +on: + push: + branches: + - main + paths: + - "docs/**" + - "mkdocs.yml" + +jobs: + release-docs: + permissions: + contents: write + pages: write + id-token: write + secrets: inherit + uses: ./.github/workflows/reusable-publish-docs.yml + with: + version: main + alias: stage \ No newline at end of file From 3003180b4a0f900f2d83f2d015df9ec5b094bf50 Mon Sep 17 00:00:00 2001 From: kozub Date: Fri, 21 Jul 2023 13:09:30 +0200 Subject: [PATCH 2/5] docs: change configuration to release docs only during the release or by hand. Rollback config for building doc for PR. (#1239) --- .github/workflows/on-doc-merge.yml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/workflows/on-doc-merge.yml diff --git a/.github/workflows/on-doc-merge.yml b/.github/workflows/on-doc-merge.yml deleted file mode 100644 index 2cea171dc..000000000 --- a/.github/workflows/on-doc-merge.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Docs - -on: - push: - branches: - - main - paths: - - "docs/**" - - "mkdocs.yml" - -jobs: - release-docs: - permissions: - contents: write - pages: write - id-token: write - secrets: inherit - uses: ./.github/workflows/reusable-publish-docs.yml - with: - version: main - alias: stage \ No newline at end of file From 149777d23f518e0c02d6aad00ebbc00bc9fefc3c Mon Sep 17 00:00:00 2001 From: kozub Date: Fri, 28 Jul 2023 09:47:39 +0200 Subject: [PATCH 3/5] docs: HotFix - workflow path(#1239) --- .github/workflows/rebuild-latest-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rebuild-latest-docs.yml b/.github/workflows/rebuild-latest-docs.yml index 853aaa1d3..f176ca901 100644 --- a/.github/workflows/rebuild-latest-docs.yml +++ b/.github/workflows/rebuild-latest-docs.yml @@ -33,7 +33,7 @@ jobs: pages: write # deploy gh-pages website id-token: write # trade JWT token for AWS credentials in AWS Docs account secrets: inherit - uses: ./.github/workflows/reusable_publish_docs.yml + uses: ./.github/workflows/reusable-publish-docs.yml with: version: ${{ inputs.latest_published_version }} alias: latest From a5e5349e03f48658f26175336fc6e07e19409943 Mon Sep 17 00:00:00 2001 From: kozub Date: Fri, 28 Jul 2023 09:49:15 +0200 Subject: [PATCH 4/5] docs: HotFix - workflow path(#1239) --- .github/workflows/rebuild-latest-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rebuild-latest-docs.yml b/.github/workflows/rebuild-latest-docs.yml index f176ca901..d2b3946e6 100644 --- a/.github/workflows/rebuild-latest-docs.yml +++ b/.github/workflows/rebuild-latest-docs.yml @@ -30,7 +30,7 @@ jobs: release-docs: permissions: contents: write # push to gh-pages - pages: write # deploy gh-pages website + pages: write # deploy gh-pages webs id-token: write # trade JWT token for AWS credentials in AWS Docs account secrets: inherit uses: ./.github/workflows/reusable-publish-docs.yml From b21855b4fc34af0c9edca34d8b9f049ea3724f83 Mon Sep 17 00:00:00 2001 From: kozub Date: Fri, 28 Jul 2023 09:53:34 +0200 Subject: [PATCH 5/5] docs: typo. (#1239) --- .github/workflows/rebuild-latest-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rebuild-latest-docs.yml b/.github/workflows/rebuild-latest-docs.yml index d2b3946e6..f176ca901 100644 --- a/.github/workflows/rebuild-latest-docs.yml +++ b/.github/workflows/rebuild-latest-docs.yml @@ -30,7 +30,7 @@ jobs: release-docs: permissions: contents: write # push to gh-pages - pages: write # deploy gh-pages webs + pages: write # deploy gh-pages website id-token: write # trade JWT token for AWS credentials in AWS Docs account secrets: inherit uses: ./.github/workflows/reusable-publish-docs.yml