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 6aa68ae commit 0cbcfed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/conditional_convert_via_pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
# Seperate jobs to be able to possibly use condition_check_files for other tasks as well
condition_check_files:
runs-on: 'ubuntu-22.04'
# Declare outputs for next jobs
outputs:
bool_files_changed: ${{ steps.check_file_changed.outputs.bool_files_changed }}
list_changed_files: ${{ steps.check_file_changed.outputs.list_changed_files }}
Expand All @@ -28,7 +27,7 @@ jobs:
- shell: pwsh
id: check_file_changed
run: |
# Look only for changed files (A - added, M - modified) and return their names (the specific changes are irrelevant)
# Look only for changed files (A - added, M - modified) and return their path+name (the specific changes are irrelevant)
$diff=git diff --name-only --diff-filter=AM "HEAD^" HEAD
# Filter the files under content/ with the .md extension excluding the Hugo associated _index.md files
Expand Down Expand Up @@ -58,7 +57,8 @@ jobs:
with:
fetch-depth: 2
- name: run_pandoc
run: |
echo "$list_changed_files"
bash ./pandoc.sh "$list_changed_files"
- uses: docker://pandoc/latex:3.5
uses: docker://pandoc/latex:3.5
with:
run: |
echo "$list_changed_files"
bash ./pandoc.sh "$list_changed_files"
2 changes: 1 addition & 1 deletion content/instructions/Test/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ category:
---

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

0 comments on commit 0cbcfed

Please sign in to comment.