From 4aca4a7d65a3f262ac14784c2fc91283ab8755a2 Mon Sep 17 00:00:00 2001 From: Santiago Fisela Date: Sat, 14 Mar 2026 18:12:51 -0300 Subject: [PATCH] Github Pages --- .github/workflows/deploy.yml | 28 ++++++++++++++++++++++++++++ vite.config.ts | 5 +++++ 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/deploy.yml create mode 100644 vite.config.ts diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..17c9ca1 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..ad08be1 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,5 @@ +import { defineConfig } from 'vite' + +export default defineConfig({ + base: '/website/', +})