adding initial structure with pipelines to build and vite config

This commit is contained in:
Sheldan
2024-03-10 19:03:47 +01:00
parent 66ef3d11ac
commit 42a4c1af62
9 changed files with 1908 additions and 0 deletions

24
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,24 @@
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: npm ci
- name: Build
run: npx vite build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist