Files
wizard-council-automation/.gitea/workflows/maintenance.yaml

18 lines
362 B
YAML

name: Weekly Maintenance
on:
schedule:
- cron: '0 0 * * 0' # Every Sunday at midnight
workflow_dispatch:
jobs:
maintain:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run maintenance script
run: |
chmod +x scripts/maintenance.sh
./scripts/maintenance.sh