feat!: monorepo landing page (#1868)

## Description

Monorepos the [landing website](https://photonvision.org)

## Meta

Merge checklist:
- [x] @mcm001 migrates all the secrets over to this repo
- [x] Add label for website stuff
- [ ] Archive the old website repo
- [x] Website gets cleaned up
This commit is contained in:
Sam Freund
2025-04-10 22:03:37 -05:00
committed by GitHub
parent c26a7cc5ac
commit 163dbe58e4
20 changed files with 7091 additions and 0 deletions

28
.github/workflows/website.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: Website Build
on:
push:
# For now, run on all commits to main
branches: [ main ]
# and also all tags starting with v
tags:
- 'v*'
jobs:
rsync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
- name: Install packages
run: npm ci
- name: Build project
run: npm run build
- uses: up9cloud/action-rsync@v1.4
env:
HOST: ${{ secrets.WEBMASTER_SSH_HOST }}
USER: ${{ secrets.WEBMASTER_SSH_USERNAME }}
KEY: ${{secrets.WEBMASTER_SSH_KEY}}
SOURCE: /website/dist/*
TARGET: /var/www/html/photonvision-website