From 4d1ddb4c75fe8a8c28e2b3ce5d5e1b694d355689 Mon Sep 17 00:00:00 2001 From: Xavier Mitault Date: Mon, 27 Nov 2023 11:44:12 +0000 Subject: [PATCH] DOCUMENTATION: Add emojify to mdbook --- .github/workflows/documentation.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index b4f463d3..491d58f5 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -34,6 +34,14 @@ jobs: curl -sSL $url | tar -xz --directory=./mdbook echo `pwd`/mdbook >> $GITHUB_PATH + - name: Install emojify + if: steps.filter.outputs.docs == 'true' || steps.filter.outputs.docs2 == 'true' || github.ref == 'refs/heads/main' + run: | + wget --no-verbose https://github.com/shonfeder/emojitsu/releases/download/0.1.1/gh-actions-emojitsu + chmod +x gh-actions-emojitsu + # Emojify the markdown + find . -type f -name "*.md" -exec ./gh-actions-emojitsu emojify -i {} \; + - name: Build Book if: steps.filter.outputs.docs == 'true' || steps.filter.outputs.docs2 == 'true' || github.ref == 'refs/heads/main' run: mdbook build