Skip to content

New site base

New site base #3

Workflow file for this run

on:
pull_request:
branches:
- master
permissions:
id-token: write
pages: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
- name: Install deps
run: npm ci
- name: Vite Build
run: npm run build
- name: Upload build files
uses: actions/upload-artifact@v4
with:
name: dist-files
path: ./dist
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
steps:
- name: Download dist files
uses: actions/download-artifact@v4
with:
name: dist-files
path: ./dist
- name: Deploy to Github Pages
uses: actions/deploy-pages@v4
with:
artifact_name: dist-files