Skip to content

Update build command in GitHub Actions workflow to use Vite #2

Update build command in GitHub Actions workflow to use Vite

Update build command in GitHub Actions workflow to use Vite #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
- name: Build project
run: npx vite build --base=./
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist
clean: true