Implement Jekyll CI workflow with docker #2
|
@ -46,15 +46,7 @@ jobs:
|
||||||
id: build_site
|
id: build_site
|
||||||
run: |
|
run: |
|
||||||
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/home/ubuntu/workspace" jekyll build --verbose
|
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/home/ubuntu/workspace" jekyll build --verbose
|
||||||
- name: Upload Jekyll site
|
|
||||||
id: upload_site
|
|
||||||
uses: "actions/upload-artifact@v3"
|
|
||||||
with:
|
|
||||||
name: jekyll-site
|
|
||||||
path: _site
|
|
||||||
if-no-files-found: error
|
|
||||||
- name: Verify site
|
- name: Verify site
|
||||||
id: verify_site
|
id: verify_site
|
||||||
run: |
|
run: |
|
||||||
echo 'Artifact ID is ${{ steps.upload_site.outputs.artifact-id }}'
|
tree _site
|
||||||
echo 'Artifact URL is ${{ steps.upload_site.outputs.artifact-url }}'
|
|
||||||
|
|
Loading…
Reference in New Issue