From a112123d0a85a1b8729ac1cfcbb38e0528e15a91 Mon Sep 17 00:00:00 2001 From: Mirko Westermeier Date: Wed, 6 Sep 2023 17:40:02 +0200 Subject: [PATCH] Use pandoc ubuntu image for upload-pages-artifact (actions/upload-pages-artifact#17) --- .github/workflows/build-website.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml index 54517fa..3ac872f 100644 --- a/.github/workflows/build-website.yml +++ b/.github/workflows/build-website.yml @@ -6,12 +6,12 @@ jobs: build: runs-on: ubuntu-20.04 container: - image: docker://pandoc/core:2.14 + image: docker://pandoc/core:2.14-ubuntu options: --entrypoint=sh steps: - name: Install dependencies - run: apk add git make m4 + run: apt update && apt install -y git make m4 - name: Checkout repository content uses: actions/checkout@v3 @@ -28,15 +28,10 @@ jobs: path: output/public name: website - - name: Prepare tarball for native GH pages - run: tar cvf artifact.tar -C output/public . - - - name: Store generated content as tarball for GH pages - # actions/upload-pages-artifact is broken with tar --hard-dereference - uses: actions/upload-artifact@v3 + - name: Store generated content for GH pages + uses: actions/upload-pages-artifact@v2 with: - path: artifact.tar - name: github-pages + path: output/public deploy: needs: build