diff --git a/.gitea/workflows/maintenance.yaml b/.gitea/workflows/maintenance.yaml new file mode 100644 index 0000000..1e695bb --- /dev/null +++ b/.gitea/workflows/maintenance.yaml @@ -0,0 +1,17 @@ + +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