remove topics with hourly and subhourly Question on topics in weather… #87
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: build bundle ⚙️ | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'topic-hierarchy/**.csv' | |
- 'scripts/generate-bundle.py' | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-python@v5 | |
name: Setup Python ${{ matrix.python-version }} | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install requirements 📦 | |
run: | | |
- name: Create resources bundle 📦 | |
run: | | |
python3 scripts/generate-bundle.py | |
zip -j /tmp/wth-bundle.zip topic-hierarchy/*.csv | |
- uses: actions/checkout@master | |
with: | |
ref: gh-pages | |
- name: update gh-pages branch and publish | |
run: | | |
mv /tmp/wth-bundle.zip . | |
git config --global user.email "[email protected]" | |
git config --global user.name "Tom Kralidis" | |
git commit -m "generate bundle" wth-bundle.zip | |
git push -f origin gh-pages |