debug: print git config and env in mirror step
This commit is contained in:
parent
580a51c350
commit
8e1f0babb8
1 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,9 @@ jobs:
|
||||||
- name: Mirror to GitHub
|
- name: Mirror to GitHub
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
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
|
git clone --mirror "https://git.breadway.dev/${GITHUB_REPOSITORY}.git" repo.git
|
||||||
cd repo.git
|
cd repo.git
|
||||||
git push --prune \
|
git push --prune \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue