Implement Jekyll CI workflow with docker #2
|
@ -35,22 +35,8 @@ 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}/:/appdata" \
|
||||
--entrypoint bash \
|
||||
jekyll -c "whoami; pwd; ls -lA ."
|
||||
- name: Build Jekyll site
|
||||
id: build_site
|
||||
run: |
|
||||
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/appdata" \
|
||||
jekyll build --verbose
|
||||
- name: Verify site
|
||||
id: verify_site
|
||||
# uses: LeastAuthority/broken-links-action@v1
|
||||
# with:
|
||||
# path: ./_site
|
||||
run: |
|
||||
python3 --version
|
||||
wget --version
|
||||
|
|
Loading…
Reference in New Issue