fix: point forgejo sync to ashwin namespace

This commit is contained in:
Ashwin Kumar Sivakumar 2026-06-11 18:00:03 +05:30
parent 4f7f475979
commit 7407d6371e

View file

@ -19,6 +19,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: |
@ -27,8 +28,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)