From b728a9f4c14bc023e41d5f67edc97344df615301 Mon Sep 17 00:00:00 2001 From: Fred Date: Mon, 18 Nov 2024 11:19:40 -0300 Subject: [PATCH] chore: address comments --- .github/workflows/pull_request_secure.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request_secure.yml b/.github/workflows/pull_request_secure.yml index 97c83d1020..8b47e37682 100644 --- a/.github/workflows/pull_request_secure.yml +++ b/.github/workflows/pull_request_secure.yml @@ -290,12 +290,18 @@ jobs: env: GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }} run: | - cp ${{ github.workspace }}/timefold-solver/docs/src/antora-playbook-template.yml apps/docs/antora-playbook.yml cd ${{ github.workspace }}/timefold-solver/ GURL="$(git remote get-url origin)" cd - - sed -i "s#CHANGE_URL#$GURL#" apps/docs/antora-playbook.yml - sed -i "s/CHANGE_BRANCH/$BRANCH_NAME/" apps/docs/antora-playbook.yml + sed -i '/algolia/,+1d' apps/docs/antora-playbook.yml + sed -i '/timefold-orbit/,+3d' apps/docs/antora-playbook.yml + sed -i '/timefold-field/,+3d' apps/docs/antora-playbook.yml + sed -i '/timefold-models/,+3d' apps/docs/antora-playbook.yml + sed -i '/timefold-employee/,+3d' apps/docs/antora-playbook.yml + sed -i '/tags/,1d' apps/docs/antora-playbook.yml + sed -i "s#git@github.com:timefoldai/timefold-solver.git#$GURL#g" apps/docs/antora-playbook.yml + sed -i "s/branches:[ .-~]*/branches: $BRANCH_NAME/" apps/docs/antora-playbook.yml + cat apps/docs/antora-playbook.yml npm ci npm run build -- --filter docs