Skip to content

Commit

Permalink
Update shell
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Jun 18, 2024
1 parent 2be68d0 commit e7f028b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/preinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
set -e

if [ -n "$GITHUB_TOKEN" ]; then
echo "Running in CI environment, using GITHUB_TOKEN for authentication"
# Configure Git to use the GITHUB_TOKEN for authentication
git config --global url."https://${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
echo "Running in CI environment, using GITHUB_TOKEN for authentication"
# Configure Git to use the GITHUB_TOKEN for authentication
git config --global url."https://${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
else
echo "Running in local environment, using normal authentication"
echo "Running in local environment, using normal authentication"
fi

# Initialize and update submodules
Expand Down

0 comments on commit e7f028b

Please sign in to comment.