Skip to content

Commit

Permalink
fix: git setup
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Dec 30, 2024
1 parent 466c762 commit 1ac3e5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ function configure_git_on_ci {
bash <(curl -s https://raw.githubusercontent.com/ory/ci/master/src/scripts/install/git.sh)
# change global url from https://github.com/ to [email protected]:
# git config --global url."[email protected]:".insteadOf https://github.com/
git config --global user.email "[email protected]"
git config --global user.name "ory-bot"
}

# copy contributing guide to docs if docs exist
Expand Down Expand Up @@ -289,8 +291,6 @@ function install_dependencies_on_ci {
sudo apt-get update -y
sudo apt-get install -y moreutils gettext-base
curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.48
git config --global user.email "[email protected]"
git config --global user.name "ory-bot"
}

# pushes the committed changes from the local Git client to GitHub
Expand Down

0 comments on commit 1ac3e5f

Please sign in to comment.