Skip to content

New icons submitted via web (#170) #1853

New icons submitted via web (#170)

New icons submitted via web (#170) #1853

Workflow file for this run

name: cd
on: [push]
jobs:
cd:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Index icons
working-directory: ./static/icons
run: python index.py
- name: Create drawio lib
working-directory: ./static/icons
run: python drawiolib.py
- name: Setup node env
uses: actions/setup-node@v2.1.2
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: yarn
- name: Generate
run: yarn run generate
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist