Inspect volume before using it
Jekyll / test-ci-actions (push) Failing after 17s Details

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
bEn 2024-05-22 19:39:53 +02:00
parent 2617e930c5
commit f9756339f3
1 changed files with 2 additions and 0 deletions

View File

@ -41,10 +41,12 @@ jobs:
- name: Verify Jekyll container
id: verify_image
run: |
docker volume inspect "${JOB_CONTAINER_NAME}"
docker-compose run --rm --entrypoint bash -v "${JOB_CONTAINER_NAME}:/home/ubuntu/workspace" jekyll -c "whoami; pwd; ls -lA ."
- name: Build Jekyll site
id: build_site
run: |
docker volume inspect "${JOB_CONTAINER_NAME}"
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/home/ubuntu/workspace" jekyll build --verbose
- name: Verify site
id: verify_site