From 65e039a8e08aaa291266e8422bf1203dfdd55110 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Wed, 25 Jun 2025 13:20:59 -0400 Subject: [PATCH] Update .gitea/workflows/remove-orphans.yaml --- .gitea/workflows/remove-orphans.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/remove-orphans.yaml b/.gitea/workflows/remove-orphans.yaml index eb546e7..b54bae1 100644 --- a/.gitea/workflows/remove-orphans.yaml +++ b/.gitea/workflows/remove-orphans.yaml @@ -1,11 +1,11 @@ -name: Remove Orphans - on: - # push: workflow_dispatch: + schedule: + - cron: '0 0 * * *' jobs: remove-orphans: + name: Remove Orphans runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -16,6 +16,7 @@ jobs: go-version-file: 'go.mod' - env: - TOKEN: ${{ secrets.TOKEN }} + GITEA_URL: https://git.furtherverse.com + GITEA_TOKEN: ${{ secrets.TOKEN }} run: | - GITEA_URL=https://git.furtherverse.com GITEA_TOKEN=${TOKEN} go run . + go run .