Skip to content

Commit a4a57f8

Browse files
authored
use relative path (#67)
1 parent 280e6d5 commit a4a57f8

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/deploy-wagmi-to-gh-pages.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,6 @@ jobs:
5656
5757
- name: Build wagmi integration
5858
working-directory: integrations/wagmi
59-
env:
60-
VITE_BASE_PATH: /${{ inputs.destination_dir }}/
6159
run: yarn build
6260

6361
- name: Deploy to `${{ inputs.destination_dir }}` directory of `gh-pages` branch
@@ -68,4 +66,3 @@ jobs:
6866
personal_token: ${{ secrets.PUBLISH_DOCS_TOKEN }}
6967
publish_dir: ./integrations/wagmi/dist
7068
destination_dir: ${{ inputs.destination_dir }}
71-

integrations/wagmi/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import { defineConfig } from 'vite'
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7-
base: process.env.VITE_BASE_PATH || '/',
7+
base: './',
88
})

0 commit comments

Comments
 (0)