-
Notifications
You must be signed in to change notification settings - Fork 12
38 lines (36 loc) · 1.29 KB
/
compass-icons.yml
File metadata and controls
38 lines (36 loc) · 1.29 KB
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- 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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: CompassIconFont
path: fontello
- name: Deploy
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
with:
branch: gh-pages
folder: fontello