Implement Jekyll CI workflow with docker #2
|
@ -45,7 +45,10 @@ jobs:
|
||||||
- name: Build Jekyll site
|
- name: Build Jekyll site
|
||||||
id: build_site
|
id: build_site
|
||||||
run: |
|
run: |
|
||||||
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/home/ubuntu/workspace" jekyll build --verbose
|
env | sort
|
||||||
|
set -x
|
||||||
|
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
|
- name: Upload Jekyll site
|
||||||
uses: "actions/upload-artifact@v3"
|
uses: "actions/upload-artifact@v3"
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue