forked from sync/gitea-docker-registry-prune
Update .gitea/workflows/remove-orphans.yaml
All checks were successful
/ Remove Orphans (push) Successful in 28s
All checks were successful
/ Remove Orphans (push) Successful in 28s
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
name: Remove Orphans
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# push:
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
remove-orphans:
|
remove-orphans:
|
||||||
|
name: Remove Orphans
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -16,6 +16,7 @@ jobs:
|
|||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
- env:
|
- env:
|
||||||
TOKEN: ${{ secrets.TOKEN }}
|
GITEA_URL: https://git.furtherverse.com
|
||||||
|
GITEA_TOKEN: ${{ secrets.TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
GITEA_URL=https://git.furtherverse.com GITEA_TOKEN=${TOKEN} go run .
|
go run .
|
||||||
|
|||||||
Reference in New Issue
Block a user