landing page

This commit is contained in:
Trevi Awater
2026-03-31 12:46:39 +02:00
parent 2c68418057
commit e2e5f7d3b1
27 changed files with 9560 additions and 0 deletions

40
.github/workflows/deploy-landing.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
name: Deploy Landing to Cloudflare Pages
on:
push:
branches: ["main"]
paths:
- "landing/**"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
cache-dependency-path: landing/package-lock.json
- name: Install dependencies
working-directory: landing
run: npm ci
- name: Build
working-directory: landing
run: npm run build
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy dist --project-name=pockegraph-app
workingDirectory: landing