Skip to content

Fix workflow not running #14

Fix workflow not running

Fix workflow not running #14

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 }}