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?