Fix workflow not running #14
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: 'Update Mods' | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- '.github/workflows/mod_pages_update.yml' | |
- 'assets/**' | |
- 'data/projects.json' | |
- 'scripts/descriptions/**' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
- name: Update descriptions | |
run: python scripts/descriptions/main.py ${{ secrets.MODRINTH_TOKEN }} |