-
Notifications
You must be signed in to change notification settings - Fork 13
38 lines (36 loc) · 1.16 KB
/
compass-icons.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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