ISO 7010:2019
final
#27
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 Modrinth Readme | |
on: | |
push: | |
paths: | |
- "README.md" | |
branches: | |
- main | |
jobs: | |
update_modrinth_readme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: 'x64' | |
- name: Install dependencies | |
run: pip install requests rich | |
- name: Run Python Script | |
run: python .github/workflows/scripts/update_modrinth_readme.py VozTPxB4 README.md | |
env: | |
SECRET: ${{ secrets.MODRINTH_API_TOKEN }} |