diff --git a/site/deploy.sh b/site/deploy.sh old mode 100644 new mode 100755 index bcaeedf..56ea525 --- a/site/deploy.sh +++ b/site/deploy.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh # abort on errors set -e @@ -10,7 +10,7 @@ npm run build cd dist # if you are deploying to a custom domain -# echo 'oliver.akins.me' > CNAME +# echo 'www.example.com' > CNAME git init git add -A @@ -20,6 +20,6 @@ git commit -m 'deploy' # git push -f git@github.com:/.github.io.git master # if you are deploying to https://.github.io/ -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 - \ No newline at end of file diff --git a/site/vite.config.js b/site/vite.config.js index 95971b4..8010715 100644 --- a/site/vite.config.js +++ b/site/vite.config.js @@ -3,5 +3,6 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ - plugins: [vue()] + plugins: [vue()], + base: `/Quote-Bracket/`, })