fix: point forgejo sync to ashwin namespace
This commit is contained in:
parent
c8ecb6bf81
commit
93deed0d11
1 changed files with 3 additions and 2 deletions
5
.github/workflows/sync-to-forgejo.yml
vendored
5
.github/workflows/sync-to-forgejo.yml
vendored
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue