Share the workspace to build Jekyll
Jekyll / test-ci-actions (push) Successful in 22s
Details
Jekyll / test-ci-actions (push) Successful in 22s
Details
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
parent
2f1abb8c08
commit
4dd57bf844
|
@ -64,11 +64,10 @@ jobs:
|
||||||
- name: Verify Jekyll container
|
- name: Verify Jekyll container
|
||||||
id: verify_image
|
id: verify_image
|
||||||
run: |
|
run: |
|
||||||
set -x
|
|
||||||
VOL=$(docker volume ls | grep -Po "GITEA-ACTIONS-TASK-[0-9]+_WORKFLOW-Jekyll_JOB-test-ci-actions$")
|
VOL=$(docker volume ls | grep -Po "GITEA-ACTIONS-TASK-[0-9]+_WORKFLOW-Jekyll_JOB-test-ci-actions$")
|
||||||
echo "VOL=${VOL}"
|
|
||||||
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
|
||||||
run: |
|
run: |
|
||||||
docker-compose run --rm 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
|
||||||
|
|
Loading…
Reference in New Issue