Skip to content

Commit 5ac4824

Browse files
committed
corrected git remote origin error
1 parent 5f502ba commit 5ac4824

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

.vscode/launch.json

-22
This file was deleted.

new-vue-ghpages.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if [[ "$varName" == "${varGithubAccount}.github.io" && "$varYNCustomDomain" != "
7979
sed -i "22i\This project can be found at: https://${varGithubAccount}.github.io/" README.md
8080
fi
8181
if [[ "$varYNCustomDomain" == "y" ]]; then
82-
sed -i "22i\This project can be found at: https://$varCustomDomain" README.md
82+
sed -i "22i\This project can be found at: https://${varCustomDomain}" README.md
8383
fi
8484
sed -i '22i\### Github Pages' README.md
8585
sed -i '22i\```' README.md
@@ -92,7 +92,7 @@ if [[ "$varName" != "${varGithubAccount}.github.io" ]]; then
9292
git init
9393
git add .
9494
git commit -m "first commit"
95-
git remote add origin https://github.com/mint-made/${varName}.git
95+
git remote add origin https://github.com/${varGithubAccount}/${varName}.git
9696
git push -u origin master
9797
fi
9898

0 commit comments

Comments
 (0)