diff --git a/luckydiamond/.gitignore b/luckydiamond/.gitignore index 403adbc..d155a21 100644 --- a/luckydiamond/.gitignore +++ b/luckydiamond/.gitignore @@ -1,6 +1,6 @@ .DS_Store node_modules -/dist +# /dist # local env files diff --git a/luckydiamond/deploy.sh b/luckydiamond/deploy.sh index bf187f8..7d476fb 100644 --- a/luckydiamond/deploy.sh +++ b/luckydiamond/deploy.sh @@ -20,6 +20,8 @@ git commit -m 'deploy' # git push -f git@github.com:/.github.io.git main # if you are deploying to https://.github.io/ -git push -f git@github.com:danilt2000/LuckyDiamond.git main:gh-pages +# git pull origin +# git push -f git@github.com:danilt2000/LuckyDiamond.git main:gh-pages +git subtree push --prefix dist origin gh-pages cd - \ No newline at end of file