Skip to content

Commit d04fe73

Browse files
committed
update
1 parent 82789f9 commit d04fe73

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/workflows/GHPages.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-node@v4
13-
- uses: docker://pandoc/latex:3.6
14-
with:
15-
args: |
16-
sh build-resources-with-pandoc.sh
13+
# pandoc/latexのentrypointはpandocコマンドになっているため、usersディレクティブは使用不可
14+
- name: Pull pandoc/latex image
15+
run: docker pull pandoc/latex:3.6
16+
- name: Run pandoc/latex with custom entrypoint
17+
run: |
18+
docker run --entrypoint /bin/ash -v ${{ github.workspace }}:/workspace -w /workspace pandoc/latex:3.6 -c "./build-resources-with-pandoc.sh"
1719
- name: Install Packages
1820
run: |
1921
npm i -f

.github/workflows/test-build-resources-with-pandoc.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
17-
- uses: docker://pandoc/latex:3.6
18-
with:
19-
args: sh build-resources-with-pandoc.sh
17+
# pandoc/latexのentrypointはpandocコマンドになっているため、usersディレクティブは使用不可
18+
- name: Pull pandoc/latex image
19+
run: docker pull pandoc/latex:3.6
20+
- name: Run pandoc/latex with custom entrypoint
21+
run: |
22+
docker run --entrypoint /bin/ash -v ${{ github.workspace }}:/workspace -w /workspace pandoc/latex:3.6 -c "./build-resources-with-pandoc.sh"
2023
- name: Archive resources
2124
uses: actions/upload-artifact@v4
2225
with:

0 commit comments

Comments
 (0)