]> Nishi Git Mirror - gwion.git/commitdiff
Use cmojify
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Tue, 22 Sep 2020 12:47:35 +0000 (14:47 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Tue, 22 Sep 2020 12:47:35 +0000 (14:47 +0200)
.github/workflows/build.yml
scripts/mdr2mdbook.sh
scripts/update.sh

index 8274cb86be6475c0c25b7cc836def6b6b7739978..7494ffe2f3bbb3465838f1a88dadcc40ac2e2195 100644 (file)
@@ -18,26 +18,19 @@ jobs:
     - name: Dependencies
       run: bash scripts/update.sh
 
-    - uses: fennecdjay/emojify-docker-action@v2
-      name: Emojify
-      with:
-         directory: 'docs'
-
     - name: MdBook
       uses: peaceiris/actions-mdbook@v1
       with:
         mdbook-version: 'latest'
 
-    - name: Get becnhmarks
+    - name: Get benchmarks
       run: |
         git submodule update --init gwion-benchmark
         cd gwion-benchmark
         git pull origin results
 
     - name: Build book
-      run: |
-        export PATH=$PWD:$PATH
-        make build
+      run: PATH=$PWD:$PATH make build
 
     - name: GIT things
       run: |
index cc47c1d008c2b45ab077a6abd6acc13de0242d46..453b49345896ee023bd455039c54c983176bcf1b 100644 (file)
@@ -11,7 +11,8 @@ EOF
 }
 
 mk_target() {
-  sed 's/```.*gw/```cpp/' $1 |
+  cmojify "$(cat $1)" |
+    sed 's/```.*gw/```cpp/' |
     sed 's#:gwion:#[Gwion](https://github.com/fennecdjay/Gwion)#g'
   footer
 }
index 03e7d5986fd1d82fe9c758a8b83bd50718e85779..c28a2d71164e8fb9a7a0a3ee3a472eb3eb2a2d6f 100644 (file)
@@ -17,3 +17,4 @@ update() {
 
 update fennecdjay Gwion
 update fennecdjay mdr
+update fennecdjay cmojify