1
0
Fork 0
mirror of https://github.com/walkxcode/dashboard-icons.git synced 2024-11-23 19:59:17 +01:00
dashboard-icons/.github/workflows/generate_filetree.yml

32 lines
720 B
YAML
Raw Normal View History

name: 🌴 Generate File Tree
on:
push:
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
architecture: "x64"
- name: Generate File Tree
run: python config/tree.py svg png
- name: Load to GitHub
run: |-
git diff
git config --global user.email "noreply@lammers.media"
git config --global user.name "Dashboard Icons Bot"
git add tree.json
git commit -m ":construction_worker: Generates file_tree.json" || exit 0
git push