From f88e16447dcf0baa207fd2b0e9351425b4d37f50 Mon Sep 17 00:00:00 2001 From: RWTH-MK Date: Sat, 16 Nov 2024 14:15:06 +0100 Subject: [PATCH] test git action --- .github/workflows/conditional_convert_via_pandoc.yml | 11 ++++++++--- content/instructions/Test/test.md | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/conditional_convert_via_pandoc.yml b/.github/workflows/conditional_convert_via_pandoc.yml index d7e2411..64996f6 100644 --- a/.github/workflows/conditional_convert_via_pandoc.yml +++ b/.github/workflows/conditional_convert_via_pandoc.yml @@ -50,9 +50,14 @@ jobs: with: fetch-depth: 2 - name: Run Pandoc in Docker - uses: docker://pandoc/latex:3.5 - with: - args: bash ./pandoc.sh "${{ env.list_changed_files }}" + # This is a one-liner. It gets a Docker Image of pandoc/latex:3.5 working directly in the workspace (because + # $list_changed_files contains relative paths) and executes the script. + run: >- + docker run + --rm -v ${{ github.workspace }}:/workspace + -w /workspace + pandoc/latex:3.5 + bash ./pandoc.sh ${{ env.list_changed_files }} - name: Commit files # transfer the new files into the repository run: | git config --local user.name "GH_Action_Bot" diff --git a/content/instructions/Test/test.md b/content/instructions/Test/test.md index a5dd0e3..2c23a94 100644 --- a/content/instructions/Test/test.md +++ b/content/instructions/Test/test.md @@ -17,4 +17,4 @@ category: --- ## Am Anfang ... -... war der Testlauf, der ihr aller Schicksal besiegeln sollte. Jetzt neu mit KI-Panade! Knusprig! Wird es noch besser? Na? +... war der Testlauf, der ihr aller Schicksal besiegeln sollte. Jetzt neu mit KI-Panade! Knusper! Wird es noch besser?