From ac6c77a91aa3982c96d8ed15af44bd035cb0e37f Mon Sep 17 00:00:00 2001 From: Xavier Mitault Date: Mon, 27 Nov 2023 12:57:38 +0100 Subject: [PATCH] DOCUMENTATION: Add emojify to mdbook (#146) --- .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