Close get.jenkins.io disruption #721
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Hugo | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# this is needed to checkout theme which normally come from separate git repository | |
submodules: true | |
- name: Check site can be started in background with docker compose and work as expected | |
run: | | |
docker compose up --detach | |
sleep 5 | |
curl --fail --verbose http://localhost:1313 --output /dev/null | |
- name: Check hugo binary is present and can be executed (inside container) | |
run: docker compose exec status hugo version |