From 4d469b8b57586aecdba7e9454961d60f1a87266e Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Fri, 24 May 2024 12:34:27 +0200 Subject: [PATCH] Show only baseurl Signed-off-by: Benoit Donneaux --- .gitea/workflows/jekyll.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/jekyll.yaml b/.gitea/workflows/jekyll.yaml index cef22f8..80fcd74 100644 --- a/.gitea/workflows/jekyll.yaml +++ b/.gitea/workflows/jekyll.yaml @@ -48,7 +48,7 @@ jobs: if [ "${{ gitea.event_name }}" = 'pull_request' ]; then echo "Overwriting baseurl for pull_request ${{ gitea.event.pull_request.number }}" sed -i -r -e 's/^baseurl:\s*"([^"]*)"/baseurl: "\1\/${{ gitea.event.pull_request.number }}"/' _config.yml - grep "baseurl:" _config.yml + grep "^baseurl:" _config.yml fi docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \ jekyll build --verbose