diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 61ba64a..f7a02e3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,8 +43,6 @@ jobs: run: pnpm install --frozen-lockfile - name: Build run: pnpm build - env: - MY_GITHUB_PAGES: '/minishoot-map/' - name: Setup Pages uses: actions/configure-pages@v4 - name: Upload artifact diff --git a/README.md b/README.md index a98d1b8..af05cc1 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,3 @@ This project provides an interactive map for the game, available [here](https://minishoot-map.github.io/). The map shows collectables, crystal coins, passages, and many more. The map is based on extracted in-game data. - -I had to create a new github organization because google doesn't support more than 1 -favicon per domain. Also I need to push something rn, since github pages overwrote my -"fork actions consent" page, and the usual Vite workflow didn't run. diff --git a/vite.config.ts b/vite.config.ts index 87bd3d8..1560d1e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -101,11 +101,8 @@ export default defineConfig(({ command, mode, isSsrBuild, isPreview }) => { delete defines.__use_default_in_builds for(const k in defines) finalDefines['__' + k] = JSON.stringify(defines[k]) - const gh = process?.env?.MY_GITHUB_PAGES - return { root: './src', - base: gh != null ? gh : '/', build: { outDir: '../dist', emptyOutDir: true,