Implement Jekyll CI workflow with docker #2
|
@ -46,15 +46,7 @@ jobs:
|
|||
id: build_site
|
||||
run: |
|
||||
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
|
||||
id: verify_site
|
||||
run: |
|
||||
echo 'Artifact ID is ${{ steps.upload_site.outputs.artifact-id }}'
|
||||
echo 'Artifact URL is ${{ steps.upload_site.outputs.artifact-url }}'
|
||||
tree _site
|
||||
|
|
Loading…
Reference in New Issue