mirror of
https://github.com/Sheldan/canvas.git
synced 2026-01-23 20:30:13 +00:00
22 lines
467 B
YAML
22 lines
467 B
YAML
name: Execute Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '21.x'
|
|
- name: Install dependencies
|
|
run: cd src/ && npm ci && npx vite build
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
with:
|
|
folder: dist |