Skip to content

update tags.json

update tags.json #10

Workflow file for this run

name: Update redgifs/tags.json
on:
workflow_dispatch:
schedule:
# First day of every month
- cron: '0 0 1 * *'
jobs:
update_tags:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install and update packages
run: python3 -m pip install -U -r requirements.txt .
- name: Run newtags.py
run: python3 newtags.py
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
- name: Auto commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Cron: Update tags.json"
file_pattern: '*.json'
skip_fetch: false