Skip to content

Commit

Permalink
test git action
Browse files Browse the repository at this point in the history
  • Loading branch information
RWTH-MK committed Nov 16, 2024
1 parent c66b036 commit 40c7796
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/conditional_convert_via_pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ 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 ]
Expand All @@ -57,11 +63,15 @@ jobs:
packages: |
scheme-basic
hyperref
- name: run_pandoc
xcolor
iftex
- name: Run Pandoc
run: |
echo "$list_changed_files"
bash ./pandoc.sh "$list_changed_files"
- uses: actions/upload-artifact@v4 # To save the files in the repo
with:
name: pandoc-artifact
path: content/
- name: Commit files # transfer the new files back into the repository
run: |
git config --local user.name "GH_Action_Bot"
git add ./content
git commit -m "GH Action: Pandoc | New output for changed files"
git push -f origin main
7 changes: 4 additions & 3 deletions content/instructions/Test/test.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
title: Testlauf
date: '2024-03-20T14:15:05+01:00'
date: '2024-03-20'
last_mod: '2024-03-20T14:15:05+01:00'
author: "Marcel Kaiser"
author:
- Marcel Kaiser
taxonomies:
target_group: ISO...
difficulty: easy
Expand All @@ -16,4 +17,4 @@ category:
---

## Am Anfang ...
... war der Testlauf, der ihr aller Schicksal besiegeln sollte. Jetzt neu mit KI-Panade! Knusper! Wooop!
... war der Testlauf, der ihr aller Schicksal besiegeln sollte. Jetzt neu mit KI-Panade! Knusprig! Wooop!

0 comments on commit 40c7796

Please sign in to comment.