Name the volume with existing variables
Jekyll / test-ci-actions (push) Successful in 20s
Details
Jekyll / test-ci-actions (push) Successful in 20s
Details
This reverts commit b15883c239
.
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
parent
148dd2733f
commit
09ffc900c5
|
@ -41,7 +41,7 @@ jobs:
|
||||||
- name: Verify Jekyll container
|
- name: Verify Jekyll container
|
||||||
id: verify_image
|
id: verify_image
|
||||||
run: |
|
run: |
|
||||||
VOL=$(docker volume ls | grep -Po "GITEA-ACTIONS-TASK-[0-9]+_WORKFLOW-Jekyll_JOB-test-ci-actions$")
|
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 "${VOL}:/home/ubuntu/workspace" jekyll -c "whoami; pwd; ls -lA ."
|
||||||
- name: Build Jekyll site
|
- name: Build Jekyll site
|
||||||
id: build_site
|
id: build_site
|
||||||
|
|
Loading…
Reference in New Issue