Use existing var for volume everywhere
Jekyll / test-ci-actions (push) Failing after 19s
Details
Jekyll / test-ci-actions (push) Failing after 19s
Details
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
parent
09ffc900c5
commit
55d102a963
|
@ -41,13 +41,11 @@ jobs:
|
|||
- name: Verify Jekyll container
|
||||
id: verify_image
|
||||
run: |
|
||||
VOL="${JOB_CONTAINER_NAME}"
|
||||
docker-compose run --rm --entrypoint bash -v "${VOL}:/home/ubuntu/workspace" jekyll -c "whoami; pwd; ls -lA ."
|
||||
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: |
|
||||
VOL=$(docker volume ls | grep -Po "GITEA-ACTIONS-TASK-[0-9]+_WORKFLOW-Jekyll_JOB-test-ci-actions$")
|
||||
docker-compose run --rm -v "${VOL}:/home/ubuntu/workspace" jekyll build --verbose
|
||||
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/home/ubuntu/workspace" jekyll build --verbose
|
||||
- name: Upload Jekyll site
|
||||
uses: "actions/upload-artifact@v3"
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue