mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
deploy
This commit is contained in:
@@ -2,26 +2,26 @@
|
|||||||
|
|
||||||
# abort on errors
|
# abort on errors
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# build
|
# build
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
# navigate into the build output directory
|
# navigate into the build output directory
|
||||||
cd dist
|
cd dist
|
||||||
|
# git checkout main
|
||||||
|
|
||||||
# if you are deploying to a custom domain
|
# if you are deploying to a custom domain
|
||||||
# echo 'www.example.com' > CNAME
|
# echo 'www.example.com' > CNAME
|
||||||
|
|
||||||
git init
|
# git init
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m 'deploy'
|
git commit -m 'deploy'
|
||||||
|
|
||||||
# if you are deploying to https://<USERNAME>.github.io
|
# if you are deploying to https://<USERNAME>.github.io
|
||||||
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git main
|
git push -f git@github.com:danilt2000/danilt2000.github.io.git main
|
||||||
|
|
||||||
# if you are deploying to https://<USERNAME>.github.io/<REPO>
|
# if you are deploying to https://<USERNAME>.github.io/<REPO>
|
||||||
# git pull origin
|
# git pull origin
|
||||||
git push -f git@github.com:danilt2000/LuckyDiamond.git main:gh-pages
|
# git push -f git@github.com:danilt2000/LuckyDiamond.git main:gh-pages
|
||||||
# git subtree push --prefix dist origin gh-pages
|
# git subtree push --prefix dist origin gh-pages
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
2
luckydiamond/dist/index.html
vendored
2
luckydiamond/dist/index.html
vendored
@@ -1 +1 @@
|
|||||||
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/LuckyDiamond/favicon.ico"><link href="https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Poppins:wght@400;600&family=Press+Start+2P&display=swap" rel="stylesheet"><title>luckydiamond</title><script defer="defer" src="/LuckyDiamond/js/chunk-vendors.9ebc3acb.js"></script><script defer="defer" src="/LuckyDiamond/js/app.d5fdf871.js"></script><link href="/LuckyDiamond/css/app.bc469998.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but luckydiamond doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><link href="https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Poppins:wght@400;600&family=Press+Start+2P&display=swap" rel="stylesheet"><title>luckydiamond</title><script defer="defer" src="/js/chunk-vendors.9ebc3acb.js"></script><script defer="defer" src="/js/app.f8938cd1.js"></script><link href="/css/app.bc469998.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but luckydiamond doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
||||||
1
luckydiamond/dist/js/app.d5fdf871.js.map
vendored
1
luckydiamond/dist/js/app.d5fdf871.js.map
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
luckydiamond/dist/js/app.f8938cd1.js.map
vendored
Normal file
1
luckydiamond/dist/js/app.f8938cd1.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -1,7 +1,11 @@
|
|||||||
// vue.config.js file to be placed in the root of your repository
|
// vue.config.js file to be placed in the root of your repository
|
||||||
|
|
||||||
|
// module.exports = {
|
||||||
|
// publicPath: process.env.NODE_ENV === 'production'
|
||||||
|
// ? '/luckydiamond/'
|
||||||
|
// : '/'
|
||||||
|
// }
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
publicPath: process.env.NODE_ENV === 'production'
|
publicPath: '/'
|
||||||
? '/LuckyDiamond/'
|
|
||||||
: '/'
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user