Github Pages

This commit is contained in:
Santiago Fisela
2026-03-14 18:12:51 -03:00
parent 54d28c3b8c
commit 4aca4a7d65
2 changed files with 33 additions and 0 deletions

28
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- main
- master
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
branch: gh-pages

5
vite.config.ts Normal file
View File

@@ -0,0 +1,5 @@
import { defineConfig } from 'vite'
export default defineConfig({
base: '/website/',
})