Skip to content

Commit

Permalink
move the command at top before init
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikejmnez committed Sep 19, 2024
1 parent faa2216 commit eeefeb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis/deploy_to_gh_pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ cp -R ../images images
echo "${index_html}" | tee index.html

# Now we set up the git repo
git config --global init.defaultBranch "main"
git init
git config user.name "${GIT_USER_NAME}"
git config user.email "{GIT_USER_EMAIL}"
git config --global init.defaultBranch "main"
# Add and commit the content
git add .
git status
Expand Down

0 comments on commit eeefeb5

Please sign in to comment.