Skip to content

Commit

Permalink
fix base path
Browse files Browse the repository at this point in the history
  • Loading branch information
1xfsanchez committed Jun 11, 2024
1 parent 4fa55fe commit e02066a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
env:
BASE_URL: "/Whyuluvfootball"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
5 changes: 3 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
integrations: [tailwind()]
});
integrations: [tailwind()],
base: process.env.BASE_URL ? process.env.BASE_URL : "/",
});

0 comments on commit e02066a

Please sign in to comment.