Show only baseurl
Jekyll / jekyll (pull_request) Successful in 20s Details

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
bEn 2024-05-24 12:34:27 +02:00
parent 863e8de0d3
commit 4d469b8b57
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ jobs:
if [ "${{ gitea.event_name }}" = 'pull_request' ]; then if [ "${{ gitea.event_name }}" = 'pull_request' ]; then
echo "Overwriting baseurl for pull_request ${{ gitea.event.pull_request.number }}" 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 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 fi
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \ docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \
jekyll build --verbose jekyll build --verbose