Skip to content

fluent-ui-icons-db

fluent-ui-icons-db #80

Workflow file for this run

name: fluent-ui-icons-db
on:
workflow_dispatch:
schedule:
- cron: "0 0 1 * *" # runs at 12:00AM UTC every month
jobs:
fluent-ui-icons-indexer:
runs-on: ubuntu-latest
steps:
- name: checkout repo content # checkout the repository content to github runner.
uses: actions/checkout@v3
- name: setup node # install node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: setup python # install python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: install dependencies # install dependencies
run: npm install
- name: update fluent ui icons dependency # install latest fluent ui dependency
run: npm install -D @fluentui/svg-icons@latest
- name: index icons # run icon indexer python script
run: |
python indexer.py --production
- name: build website # build website
run: npm run build:web
- name: commit changes # commit changes (if available)
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'chore: updated icons database'
commit_user_name: Benny Bot
commit_user_email: bennymegk@gmail.com
commit_author: bennymeg <bennymegk@gmail.com>
- name: assert workflow active # keep workflow alive (if needed)
uses: gautamkrishnar/keepalive-workflow@v1
with:
committer_username: Benny Bot
committer_email: bennymegk@gmail.com