From 8f22e3c98a569f2badf83dedc2b8e4355ec41552 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Wed, 26 Apr 2023 16:49:16 +0200 Subject: [PATCH] Fix docs deployment --- .github/workflows/tdapi_file.yaml | 3 +++ .../continuous-integration/github-workflows/deploy-javadoc.sh | 1 + .../github-workflows/install-dependencies.sh | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tdapi_file.yaml b/.github/workflows/tdapi_file.yaml index c33ca17..32dfaed 100644 --- a/.github/workflows/tdapi_file.yaml +++ b/.github/workflows/tdapi_file.yaml @@ -129,8 +129,11 @@ jobs: API_TYPE=legacy ./scripts/continuous-integration/github-workflows/deploy-release.sh API_TYPE=sealed ./scripts/continuous-integration/github-workflows/deploy-release.sh + API_TYPE=legacy ./scripts/continuous-integration/github-workflows/deploy-javadoc.sh API_TYPE=sealed ./scripts/continuous-integration/github-workflows/deploy-javadoc.sh env: MAVEN_USERNAME: ${{ secrets.MCHV_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MCHV_TOKEN }} + DOCS_DEPLOY_USERNAME: ${{ secrets.DOCS_DEPLOY_USERNAME }} + DOCS_DEPLOY_PASSWORD: ${{ secrets.DOCS_DEPLOY_PASSWORD }} diff --git a/scripts/continuous-integration/github-workflows/deploy-javadoc.sh b/scripts/continuous-integration/github-workflows/deploy-javadoc.sh index 3e4aa3e..ffae61e 100755 --- a/scripts/continuous-integration/github-workflows/deploy-javadoc.sh +++ b/scripts/continuous-integration/github-workflows/deploy-javadoc.sh @@ -13,6 +13,7 @@ fi cd "./generated-${API_TYPE}/target/apidocs" find . -name '*.html' -exec sed -i -r 's/<\/title>/<\/title>\n