Add map marker icon (#92) #141
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compass Icons CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: npm install and build | |
run: | | |
npm install | |
npm run build | |
- name: Download demo package from Fontello | |
run: | | |
curl https://fontello.com/`cat .fontello-session`/get > fontello.zip | |
7z x fontello.zip | |
rm fontello.zip | |
- name: Rename downloaded fontello package | |
run: | | |
mv fontello* fontello | |
mv fontello/demo.html fontello/index.html | |
cp ./build/IconGlyphs* ./fontello | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: CompassIconFont | |
path: fontello | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: fontello |