Implement Jekyll CI workflow with docker #2
|
@ -6,10 +6,6 @@ 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
|
||||
|
@ -53,13 +49,9 @@ 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 }}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue