From ff2c282de9831ffc1ab1a30299567eee4f59c737 Mon Sep 17 00:00:00 2001 From: Austin Andrews Date: Tue, 25 Feb 2020 23:35:55 -0600 Subject: [PATCH] Update cd-font-build.yml --- .github/workflows/cd-font-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd-font-build.yml b/.github/workflows/cd-font-build.yml index 80085096e..f52670f1e 100644 --- a/.github/workflows/cd-font-build.yml +++ b/.github/workflows/cd-font-build.yml @@ -17,14 +17,16 @@ jobs: - name: Rename Font run: sed -i 's/"Material Design Icons"/"Material Design Icons Desktop"/g' font-build.json - name: Build font - run: npx @mdi/font-build + run: npx @mdi/font-build --mode svg - name: Clone MaterialDesign-Font and Copy run: | git clone https://${{ secrets.GIT_USER }}:${{ secrets.GIT_TOKEN }}@github.com/Templarian/MaterialDesign-Font cp -rf dist/fonts/materialdesignicons-webfont.ttf MaterialDesign-Font/MaterialDesignIconsDesktop.ttf + cp -rf dist/index.html MaterialDesign-Font/cheatsheet.html cd MaterialDesign-Font git config --global user.email "${{ secrets.GIT_EMAIL }}" git config --global user.name "${{ secrets.GIT_NAME }}" git add MaterialDesignIconsDesktop.ttf + git add cheatsheet.html git commit -m "Sync" git push