Revert "Name the volume with existing variables"

This reverts commit b15883c239.
This commit is contained in:
bEn 2024-05-22 17:22:34 +02:00
parent fb8ffc18be
commit 940890cdda
1 changed files with 4 additions and 3 deletions

View File

@ -45,12 +45,13 @@ jobs:
- name: Verify Jekyll container
id: verify_image
run: |
docker volume ls ${JOB_CONTAINER_NAME}
docker-compose run --rm --entrypoint bash -v "${JOB_CONTAINER_NAME}:/home/ubuntu/workspace" jekyll -c "whoami; pwd; ls -lA ."
VOL=$(docker volume ls | grep -Po "GITEA-ACTIONS-TASK-[0-9]+_WORKFLOW-Jekyll_JOB-test-ci-actions$")
docker-compose run --rm --entrypoint bash -v "${VOL}:/home/ubuntu/workspace" jekyll -c "whoami; pwd; ls -lA ."
- name: Build Jekyll site
id: build_site
run: |
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/home/ubuntu/workspace" jekyll build --verbose
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
- name: Upload Jekyll site
id: upload_site
uses: "actions/upload-artifact@v3"