Skip to content

migrate to pinia (#45) #28

migrate to pinia (#45)

migrate to pinia (#45) #28

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Build
env:
VITE_BACKEND_URL: ${{ secrets.VITE_BACKEND_URL }}
VITE_GOOGLE_ANALYTICS_TAG: ${{ secrets.VITE_GOOGLE_ANALYTICS_TAG }}
run: |
npm i
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
clean: true
folder: ./dist