grace/tpb

Tee your Paste Board

git clone https://git.gae.moe/grace/tpb

Grace Yoderfeat: crow ci62f89fe

latest
566 B23 linesraw
1# This file is a bit of a hack in order to run the real release CI
2when:
3  - event: push
4    branch: ${CI_REPO_DEFAULT_BRANCH}
5
6clone:
7  git:
8    image: codefloe.com/crow-plugins/clone:1.1.0
9    settings:
10      tags: true
11
12
13steps:
14  - name: retag-latest
15    image: alpine:3.20
16    environment:
17      FORGEJO_TOKEN:
18        from_secret: forgejo_token
19    commands:
20      - apk add --no-cache git
21      - git remote set-url origin "https://oauth2:$${FORGEJO_TOKEN}@$${CI_FORGE_URL#https://}/$${CI_REPO}.git"
22      - git tag -f latest
23      - git push -f origin latest