Update Vite config and deploy script to work.
This commit is contained in:
parent
cd2349a449
commit
fca9a73bb8
2 changed files with 5 additions and 4 deletions
6
site/deploy.sh
Normal file → Executable file
6
site/deploy.sh
Normal file → Executable file
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# abort on errors
|
# abort on errors
|
||||||
set -e
|
set -e
|
||||||
|
|
@ -10,7 +10,7 @@ npm run build
|
||||||
cd dist
|
cd dist
|
||||||
|
|
||||||
# if you are deploying to a custom domain
|
# if you are deploying to a custom domain
|
||||||
# echo 'oliver.akins.me' > CNAME
|
# echo 'www.example.com' > CNAME
|
||||||
|
|
||||||
git init
|
git init
|
||||||
git add -A
|
git add -A
|
||||||
|
|
@ -20,6 +20,6 @@ git commit -m 'deploy'
|
||||||
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
|
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
|
||||||
|
|
||||||
# if you are deploying to https://<USERNAME>.github.io/<REPO>
|
# if you are deploying to https://<USERNAME>.github.io/<REPO>
|
||||||
git push -f git@github.com:Oliver-Akins/Quote-Bracket.git rewrite:gh-pages
|
git push -f git@github.com:Oliver-Akins/Quote-Bracket.git master:gh-pages
|
||||||
|
|
||||||
cd -
|
cd -
|
||||||
|
|
@ -3,5 +3,6 @@ import vue from '@vitejs/plugin-vue'
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [vue()]
|
plugins: [vue()],
|
||||||
|
base: `/Quote-Bracket/`,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue