Show baseurl when overwritting
Jekyll / jekyll (pull_request) Failing after 21s
Details
Jekyll / jekyll (pull_request) Failing after 21s
Details
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
parent
6081093f2d
commit
3ec0bdf4fc
|
@ -46,7 +46,9 @@ jobs:
|
|||
run: |
|
||||
# Overwrite the baseurl for previewonly
|
||||
if [ "${{ gitea.event }}" = '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
|
||||
fi
|
||||
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \
|
||||
jekyll build --verbose
|
||||
|
|
Loading…
Reference in New Issue