Skip to content

Commit

Permalink
chore: redeploy using vite.base
Browse files Browse the repository at this point in the history
  • Loading branch information
rsmelo92 committed Jan 19, 2024
1 parent 558a86a commit 087c410
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,21 @@ jobs:
with:
node-version: 18
cache: 'yarn'

- name: Install dependencies
run: yarn install

- name: Build
run: yarn build

- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: './dist'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react-swc'

// https://vitejs.dev/config/
export default defineConfig({
base: "/",
plugins: [react()],
resolve: {
alias: [{ find: '@', replacement: path.resolve(__dirname, 'src') }],
Expand Down

0 comments on commit 087c410

Please sign in to comment.