Implement Jekyll CI workflow with docker #2
|
@ -37,6 +37,12 @@ jobs:
|
|||
run: |
|
||||
# The environment variables _UID, _GID, _USER and _GROUP will impact this image
|
||||
docker-compose build jekyll
|
||||
- name: Verify Jekyll container
|
||||
id: verify_image
|
||||
run: |
|
||||
docker-compose run --rm -v "${JOB_CONTAINER_NAME}/:/home/${USER}/workspace" \
|
||||
--entrypoint bash \
|
||||
jekyll -c "whoami; pwd; ls -lA ."
|
||||
- name: Build Jekyll site
|
||||
id: build_site
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue