men se ne sanja več

This commit is contained in:
LovroG05
2024-11-27 13:19:38 +01:00
parent 8df9a7ef9b
commit 576be3c7fd
2 changed files with 25 additions and 1 deletions

25
deploy.sh Normal file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env sh
# abort on errors
set -e
# build
npm run build
# navigate into the build output directory
cd dist
# if you are deploying to a custom domain
echo 'govekar.net' > CNAME
git init
git add -A
git commit -m 'deploy'
# if you are deploying to https://<USERNAME>.github.io
git push -f git@github.com:LovroG05/LovroG05.github.io.git master
# if you are deploying to https://<USERNAME>.github.io/<REPO>
# git push -f git@github.com:<USERNAME>/<REPO>.git main:gh-pages
cd -

View File

@@ -17,5 +17,4 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url)) '@': fileURLToPath(new URL('./src', import.meta.url))
}, },
}, },
base: "/"
}) })