Look for the artifact
Jekyll / test-ci-actions (push) Failing after 20s Details

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
bEn 2024-05-22 17:06:54 +02:00
parent 0e31b5b592
commit 2cdbfd47a9
1 changed files with 9 additions and 1 deletions

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 }}"