From 2f0ca8313f4a04003497953fa51df7665aa38848 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Wed, 25 Sep 2024 12:24:23 +0200 Subject: [PATCH] Update pandoc.yml --- .github/workflows/pandoc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pandoc.yml b/.github/workflows/pandoc.yml index 529209a..017a67d 100644 --- a/.github/workflows/pandoc.yml +++ b/.github/workflows/pandoc.yml @@ -24,7 +24,7 @@ jobs: - name: retreiving name of the article id: getfile run: | - FIRST_FILE=$(ls *.ipynb | sort | head -n 1) + FIRST_FILE=$(ls *.ipynb | sort | head -n 1 | sed -e 's/\.ipynb$//') echo "FIRST_IPYNB_FILE=$FIRST_FILE" >> $GITHUB_ENV - name: pandoc convertion to docx uses: docker://pandoc/latex:2.9