forked from sync/gitea-docker-registry-prune
Update .gitea/workflows/remove-orphans.yaml
All checks were successful
/ Remove Orphans (push) Successful in 45s
All checks were successful
/ Remove Orphans (push) Successful in 45s
This commit is contained in:
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user