debug: print git config and env in mirror step
Some checks failed
Mirror to GitHub / mirror (push) Failing after 4s
Some checks failed
Mirror to GitHub / mirror (push) Failing after 4s
This commit is contained in:
parent
c296cf3fd5
commit
44287fe83a
1 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,9 @@ jobs:
|
|||
- name: Mirror to GitHub
|
||||
run: |
|
||||
set -euo pipefail
|
||||
echo "GITHUB_REPOSITORY=${GITHUB_REPOSITORY}"
|
||||
echo "GITHUB_SERVER_URL=${GITHUB_SERVER_URL:-unset}"
|
||||
git config --list --global | grep -E "url|insteadOf" || echo "(no url rewrites)"
|
||||
git clone --mirror "https://git.breadway.dev/${GITHUB_REPOSITORY}.git" repo.git
|
||||
cd repo.git
|
||||
git push --prune \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue