Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
prokawsar committed Nov 26, 2024
1 parent 8c6e979 commit 85c3546
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
env:
BASE_PATH: '/${{ github.event.repository.name }}'
run: |
npm run build:github
- run: npm run build:github
npm run build
- run: npm run build
- name: Add .nojekyll file
run: touch build/.nojekyll

Expand Down
2 changes: 1 addition & 1 deletion mdsvex.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import relativeImages from 'mdsvex-relative-images'
import rehypeExternalLinks from 'rehype-external-links'
import rehypePlugins from './src/plugins/rehype/index.js'

const BASE_PATH = process.env.BASE_PATH || ''
const BASE_PATH = 'https://ark-builders.github.io/website2/'

export default {
extensions: ['.md'],
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"build:github": "BASE_PATH=https://ark-builders.github.io/website2/ vite build",
"preview": "vite preview",
"test": "playwright test",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
Expand Down

0 comments on commit 85c3546

Please sign in to comment.