Implement Jekyll CI workflow with docker #2

Merged
btlogy merged 60 commits from 1.test-ci into main 2024-05-23 12:16:39 +00:00
1 changed files with 9 additions and 1 deletions
Showing only changes of commit 2cdbfd47a9 - Show all commits

View File

@ -6,6 +6,10 @@ jobs:
test-ci-actions:
runs-on: ubuntu-22.04
steps:
- name: Verify setup
id: verify_setup
run: |
env | sort
- name: Check out repository code
id: checkout
uses: actions/checkout@v4
@ -49,9 +53,13 @@ jobs:
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
- 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 "${{ steps.upload_site.outputs.artifact-url }}"