From d04fe7312b67b0ef6279d54e247989278ae6fcf1 Mon Sep 17 00:00:00 2001 From: ma91n Date: Wed, 25 Dec 2024 10:38:42 +0900 Subject: [PATCH] update --- .github/workflows/GHPages.yml | 10 ++++++---- .github/workflows/test-build-resources-with-pandoc.yml | 9 ++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/GHPages.yml b/.github/workflows/GHPages.yml index 0b20602b..01b5839f 100644 --- a/.github/workflows/GHPages.yml +++ b/.github/workflows/GHPages.yml @@ -10,10 +10,12 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - - uses: docker://pandoc/latex:3.6 - with: - args: | - sh build-resources-with-pandoc.sh + # pandoc/latexのentrypointはpandocコマンドになっているため、usersディレクティブは使用不可 + - name: Pull pandoc/latex image + run: docker pull pandoc/latex:3.6 + - name: Run pandoc/latex with custom entrypoint + run: | + docker run --entrypoint /bin/ash -v ${{ github.workspace }}:/workspace -w /workspace pandoc/latex:3.6 -c "./build-resources-with-pandoc.sh" - name: Install Packages run: | npm i -f diff --git a/.github/workflows/test-build-resources-with-pandoc.yml b/.github/workflows/test-build-resources-with-pandoc.yml index 61f3d65a..b513b57f 100644 --- a/.github/workflows/test-build-resources-with-pandoc.yml +++ b/.github/workflows/test-build-resources-with-pandoc.yml @@ -14,9 +14,12 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 - - uses: docker://pandoc/latex:3.6 - with: - args: sh build-resources-with-pandoc.sh + # pandoc/latexのentrypointはpandocコマンドになっているため、usersディレクティブは使用不可 + - name: Pull pandoc/latex image + run: docker pull pandoc/latex:3.6 + - name: Run pandoc/latex with custom entrypoint + run: | + docker run --entrypoint /bin/ash -v ${{ github.workspace }}:/workspace -w /workspace pandoc/latex:3.6 -c "./build-resources-with-pandoc.sh" - name: Archive resources uses: actions/upload-artifact@v4 with: