Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.

Merge pull request #576 from EducationalTools/main #55

Merge pull request #576 from EducationalTools/main

Merge pull request #576 from EducationalTools/main #55

Workflow file for this run

name: Deploy
on:
push:
branches:
- prod
jobs:
deploy:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: |
bun install
- name: Build
env:
VITE_CONVEX_URL: ${{ vars.VITE_CONVEX_URL }}
VITE_CONVEX_SITE_URL: ${{ vars.VITE_CONVEX_SITE_URL }}
VITE_PUBLIC_POSTHOG_HOST: ${{ vars.VITE_PUBLIC_POSTHOG_HOST }}
VITE_PUBLIC_POSTHOG_KEY: ${{ vars.VITE_PUBLIC_POSTHOG_KEY }}
run: |
bun run build
cp build/client/index.html build/client/404.html
- name: Deploy to repo
uses: peaceiris/actions-gh-pages@v4
with:
personal_token: ${{ secrets.GH_PAGES_SECRET }}
external_repository: EducationalTools/EducationalTools.github.io
publish_branch: main # default: gh-pages
publish_dir: ./build/client
- name: Deploy to vercel repo
uses: peaceiris/actions-gh-pages@v4
with:
personal_token: ${{ secrets.VERCEL_REPO_SECRET }}
external_repository: "Inglan/EduTools-Vercel"
publish_branch: main # default: gh-pages
publish_dir: ./build/client
user_name: "Ingo Wolf"
user_email: "me@ingowolf.au"