Implement Jekyll CI workflow with docker #2
|
@ -48,3 +48,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
VOL=$(docker volume ls | grep -Po "GITEA-ACTIONS-TASK-[0-9]+_WORKFLOW-Jekyll_JOB-test-ci-actions$")
|
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
|
docker-compose run --rm -v "${VOL}:/home/ubuntu/workspace" jekyll build --verbose
|
||||||
|
- name: Upload Jekyll site
|
||||||
|
uses: "actions/upload-artifact@v3"
|
||||||
|
with:
|
||||||
|
name: jekyll-site
|
||||||
|
path: _site
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue