This repository has been archived by the owner on May 20, 2024. It is now read-only.
Enumerate themes into a database file 'store.wpdb' #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: EnumThemes | |
run-name: Enumerate themes into a database file 'store.wpdb' | |
on: | |
push: | |
branches: [ master ] | |
paths: Store/Themes/** | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 # checkout the repository content | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' # install the python version needed | |
- name: install python packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install GitPython | |
- name: execute py script # run main.py | |
id: getfiles | |
# arguments: Directory Extension OutputFile | |
run: python Store/buildDB.py Store/Themes Store/store.wpdb |