File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
de/instructions/inelastischer-stoss
en/instructions/inelastic-collision Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 4747 if : needs.condition_check_files.outputs.bool_files_changed == 'true'
4848 env :
4949 list_changed_files : ${{ needs.condition_check_files.outputs.list_changed_files }}
50+ COMMIT : " "
5051 steps :
5152 - uses : actions/checkout@v4 # In order to find the script pandoc.sh
5253 with :
@@ -67,11 +68,16 @@ jobs:
6768 git config --local user.name "GH_Action_Bot"
6869 git add ./content
6970 git commit -m "GH Action: Pandoc | New output for changed files"
70- COMMIT=$(git rev-parse HEAD)
71+ export COMMIT=$(git rev-parse HEAD)
7172 git push -f origin ${GITHUB_REF##*/}
7273 curl https://phyphox.org/expdb/pandocdone.php?commit=$COMMIT &> /dev/null
7374# - name: Save artifacts # Instead of 'Commit files'. Saves the files as .zip
7475# uses: actions/upload-artifact@v4
7576# with:
7677# name: pandoc-artifact
7778# path: content/
79+ - name : Add URL as comment
80+ uses : peter-evans/commit-comment@v3
81+ with :
82+ body : Hugo output should be available at https://phyphox.org/expdb/$COMMIT/public
83+
Original file line number Diff line number Diff line change 1- ---
1+ ---
22translationKey : " Inelastic Collision Instruction"
33title : " (In)elastischer Stoß"
44date : 2024-12-17T11:42:40+01:00
Original file line number Diff line number Diff line change 1- ---
1+ ---
22translationKey : " Inelastic Collision Instruction"
33title : " (In)elastic Collision"
44date : 2024-12-17T11:42:40+01:00
You can’t perform that action at this time.
0 commit comments