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