fix: point forgejo sync to ashwin namespace

This commit is contained in:
Ashwin Kumar Sivakumar 2026-06-11 18:00:03 +05:30
parent c8ecb6bf81
commit 93deed0d11

View file

@ -20,6 +20,7 @@ jobs:
- name: Sync to Forgejo
env:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_SECRET }}
FORGEJO_OWNER: ${{ secrets.FORGEJO_OWNER || 'ashwin' }}
REPO: ${{ github.event.repository.name }}
BRANCH: ${{ github.ref_name }}
run: |
@ -28,8 +29,8 @@ jobs:
export GIT_TRACE=1
export GIT_CURL_VERBOSE=1
USER="Admin"
TARGET="https://ci.nxtgauge.com/Admin/${REPO}.git"
USER="${FORGEJO_OWNER}"
TARGET="https://ci.nxtgauge.com/${FORGEJO_OWNER}/${REPO}.git"
AUTH="$(printf '%s' "${USER}:${FORGEJO_TOKEN}" | base64 -w0)"
test -n "${FORGEJO_TOKEN:-}" || (echo "FORGEJO_TOKEN empty" && exit 1)