Skip to content

Updating base url to /kysely-codegen/ #7

Updating base url to /kysely-codegen/

Updating base url to /kysely-codegen/ #7

Workflow file for this run

name: deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-deploy:
environment: production
permissions:
id-token: write
pages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run test
- run: npm run build
env:
VITE_BRANCH: ${{ github.ref_name }}
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
# upload entire directory
path: "./dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4