From a104eb43479ace777ba9bbd0d2b5c2133f99a12a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederico=20Gon=C3=A7alves?= Date: Thu, 28 Nov 2024 09:23:30 -0300 Subject: [PATCH 1/3] ci: show docs deployments in Github UI --- .github/workflows/pull_request_secure.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_secure.yml b/.github/workflows/pull_request_secure.yml index 720f8abd3f..0bb896010b 100644 --- a/.github/workflows/pull_request_secure.yml +++ b/.github/workflows/pull_request_secure.yml @@ -264,7 +264,9 @@ jobs: runs-on: ubuntu-latest needs: approval_required name: Build Documentation - env: + environment: + name: "documentation (preview)" + url: ${{ steps.deploy.outputs.deployment-url }} BRANCH_NAME: ${{ github.head_ref || github.ref_name }} steps: - name: Checkout frontend From 9c243ec4700fb361338714873ec5d6d481bd38b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederico=20Gon=C3=A7alves?= Date: Thu, 28 Nov 2024 09:50:21 -0300 Subject: [PATCH 2/3] ci: fix documentation job (#1235) --- .github/workflows/pull_request_secure.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull_request_secure.yml b/.github/workflows/pull_request_secure.yml index 0bb896010b..41697ffeeb 100644 --- a/.github/workflows/pull_request_secure.yml +++ b/.github/workflows/pull_request_secure.yml @@ -267,6 +267,7 @@ jobs: environment: name: "documentation (preview)" url: ${{ steps.deploy.outputs.deployment-url }} + env: BRANCH_NAME: ${{ github.head_ref || github.ref_name }} steps: - name: Checkout frontend From b4318f19c8cbed9bbc13d95cd268772e507363f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederico=20Gon=C3=A7alves?= Date: Thu, 28 Nov 2024 10:59:16 -0300 Subject: [PATCH 3/3] ci: adjust Antora spring-boot version (#1236) --- .github/workflows/pull_request_secure.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request_secure.yml b/.github/workflows/pull_request_secure.yml index 41697ffeeb..ba07f65263 100644 --- a/.github/workflows/pull_request_secure.yml +++ b/.github/workflows/pull_request_secure.yml @@ -306,8 +306,8 @@ jobs: sed -i "s/\${project\.version}/SNAPSHOT/g" docs/src/antora.yml sed -i "s/\${maven\.compiler\.release}/$(find build/build-parent/ -name pom.xml -exec grep '' {} \;|tail -n 1|cut -d\> -f1 --complement|cut -d\< -f1)/g" docs/src/antora.yml sed -i "s/\${maven\.min\.version}/$(find build/build-parent/ -name pom.xml -exec grep '' {} \;|tail -n 1|cut -d\> -f1 --complement|cut -d\< -f1)/g" docs/src/antora.yml - sed -i "s/\${version\.io\.quarkus}/$(find build/build-parent/ -name pom.xml -exec grep '' {} \;|tail -n 1|cut -d\> -f1 --complement|cut -d\< -f1)/g" docs/src/antora.yml - sed -i "s/\${version\.org\.springframework\.boot}/$(find build/build-parent/ -name pom.xml -exec grep '' {} \;|tail -n 1|cut -d\> -f1 --complement|cut -d\< -f1)N/g" docs/src/antora.yml + sed -i "s/\${version\.io\.quarkus}/$(find build/build-parent/ -name pom.xml -exec grep '' {} \;|tail -n 1|cut -d\> -f1 --complement|cut -d\< -f1)/g" docs/src/antora.yml + sed -i "s/\${version\.org\.springframework\.boot}/$(find build/build-parent/ -name pom.xml -exec grep '' {} \;|tail -n 1|cut -d\> -f1 --complement|cut -d\< -f1)/g" docs/src/antora.yml sed -i "s/\${version\.ch\.qos\.logback}/$(find build/build-parent/ -name pom.xml -exec grep '' {} \;|tail -n 1|cut -d\> -f1 --complement|cut -d\< -f1)/g" docs/src/antora.yml sed -i "s/\${version\.exec\.plugin}/$(find build/build-parent/ -name pom.xml -exec grep '' {} \;|tail -n 1|cut -d\> -f1 --complement|cut -d\< -f1)/g" docs/src/antora.yml sed -i "s/\${version\.rewrite\.plugin}/$(find . -name pom.xml -exec grep '' {} \;|tail -n 1|cut -d\> -f1 --complement|cut -d\< -f1)/g" docs/src/antora.yml