From 907eeff7c807bf60f142a0b7a66d34aa7754523c Mon Sep 17 00:00:00 2001 From: RWTH-MK Date: Sat, 16 Nov 2024 14:02:07 +0100 Subject: [PATCH] test git action --- .../conditional_convert_via_pandoc.yml | 22 +++---------------- content/instructions/Test/test.md | 2 +- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/.github/workflows/conditional_convert_via_pandoc.yml b/.github/workflows/conditional_convert_via_pandoc.yml index d5464d9..782a6a1 100644 --- a/.github/workflows/conditional_convert_via_pandoc.yml +++ b/.github/workflows/conditional_convert_via_pandoc.yml @@ -39,12 +39,6 @@ jobs: echo "list_changed_files=$FilesDiff" >> $env:GITHUB_OUTPUT # Run the job only with 'bool_files_changed' equals 'True' - - -# - uses: actions/upload-artifact@v4 # To save the files in the repo - # with: - # name: pandoc-artifact - # path: content/ conditional_pandoc: runs-on: 'ubuntu-22.04' needs: [ condition_check_files ] @@ -55,20 +49,10 @@ jobs: - uses: actions/checkout@v4 # In order to find the script pandoc.sh with: fetch-depth: 2 - - uses: pandoc/actions/setup@v1 + - name: Run Pandoc in Docker + uses: docker://pandoc/latex:3.5 with: - version: 3.5 - - uses: teatimeguest/setup-texlive-action@v3 # To convert to pdf (from latex) - with: - packages: | - scheme-basic - hyperref - xcolor - iftex - - name: Run Pandoc - run: | - echo "$list_changed_files" - bash ./pandoc.sh "$list_changed_files" + args: bash ./pandoc.sh "${{ env.list_changed_files }}" - name: Commit files # transfer the new files back 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 26f7f14..38eeba6 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! Wooop! +... war der Testlauf, der ihr aller Schicksal besiegeln sollte. Jetzt neu mit KI-Panade! Knusprig! Wird es noch besser?