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 .