Skip to content

Commit 39bb31d

Browse files
authored
Call a webhook on phyphox.org when pandoc conversion is done.
1 parent 311ef55 commit 39bb31d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/conditional_convert_via_pandoc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ jobs:
6767
git config --local user.name "GH_Action_Bot"
6868
git add ./content
6969
git commit -m "GH Action: Pandoc | New output for changed files"
70+
COMMIT=$(git rev-parse HEAD)
7071
git push -f origin ${GITHUB_REF##*/}
72+
curl https://phyphox.org/expdb/pandocdone.php?commit=$COMMIT &> /dev/null
7173
# - name: Save artifacts # Instead of 'Commit files'. Saves the files as .zip
7274
# uses: actions/upload-artifact@v4
7375
# with:

0 commit comments

Comments
 (0)