Skip to content

Commit 56802c7

Browse files
committed
project website
1 parent e12c942 commit 56802c7

16 files changed

+155
-187
lines changed

.github/workflows/deploy-landing.yml

Lines changed: 0 additions & 68 deletions
This file was deleted.
Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
name: Deploy Project website to GitHub Pages
1+
name: Deploy Project Website to GitHub Pages
22

33
on:
44
push:
55
branches: [ main ]
66
paths:
77
- 'web/landing/**'
8-
- '.github/workflows/deploy-landing.yml'
8+
- 'api-docs/**'
9+
- '.github/workflows/project-website.yml'
910
workflow_dispatch:
1011

1112
permissions:
@@ -18,35 +19,47 @@ concurrency:
1819
cancel-in-progress: true
1920

2021
jobs:
21-
build:
22+
build-and-deploy:
2223
runs-on: ubuntu-latest
2324
steps:
2425
- name: Checkout
2526
uses: actions/checkout@v4
2627

27-
- name: Setup Node
28+
- name: Setup Node.js
2829
uses: actions/setup-node@v4
2930
with:
30-
node-version: 18
31+
node-version: 20
32+
cache: 'npm'
33+
cache-dependency-path: web/landing/package-lock.json
34+
35+
- name: Install dependencies
36+
working-directory: web/landing
37+
run: npm ci
3138

3239
- name: Build landing site
40+
working-directory: web/landing
41+
run: npm run build
42+
43+
- name: Verify build
3344
working-directory: web/landing
3445
run: |
35-
npm ci
36-
npm run build
46+
echo "Build verification:"
47+
ls -la dist/
48+
echo "Checking docs structure:"
49+
ls -la dist/docs/ || echo "No docs directory found"
50+
echo "Verifying key files:"
51+
test -f dist/index.html && echo "✓ index.html" || echo "✗ index.html missing"
52+
test -f dist/api.html && echo "✓ api.html" || echo "✗ api.html missing"
53+
test -f dist/docs/intro.html && echo "✓ docs/intro.html" || echo "✗ docs/intro.html missing"
3754
38-
- name: Upload artifact
55+
- name: Setup GitHub Pages
56+
uses: actions/configure-pages@v4
57+
58+
- name: Upload to GitHub Pages
3959
uses: actions/upload-pages-artifact@v3
4060
with:
4161
path: web/landing/dist
4262

43-
deploy:
44-
environment:
45-
name: github-pages
46-
url: ${{ steps.deployment.outputs.page_url }}
47-
runs-on: ubuntu-latest
48-
needs: build
49-
steps:
5063
- name: Deploy to GitHub Pages
5164
id: deployment
5265
uses: actions/deploy-pages@v4

web/landing/dist/api.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/png" sizes="32x32" href="/scriberr-thumb.png" />
6-
<link rel="icon" type="image/png" sizes="16x16" href="/scriberr-thumb.png" />
7-
<link rel="apple-touch-icon" sizes="180x180" href="/scriberr-thumb.png" />
8-
<link rel="shortcut icon" href="/scriberr-thumb.png" />
95
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
106
<title>Scriberr API Reference</title>
117
<link rel="preconnect" href="https://fonts.googleapis.com">

web/landing/dist/changelog.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/png" sizes="32x32" href="/scriberr-thumb.png" />
6-
<link rel="icon" type="image/png" sizes="16x16" href="/scriberr-thumb.png" />
7-
<link rel="apple-touch-icon" sizes="180x180" href="/scriberr-thumb.png" />
8-
<link rel="shortcut icon" href="/scriberr-thumb.png" />
95
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
106
<title>Scriberr — Changelog</title>
117
<link rel="preconnect" href="https://fonts.googleapis.com">

web/landing/dist/docs-contributing.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

web/landing/dist/docs-diarization.html

Lines changed: 0 additions & 23 deletions
This file was deleted.

web/landing/dist/docs-installation.html

Lines changed: 0 additions & 22 deletions
This file was deleted.

web/landing/dist/docs-intro.html

Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Scriberr Docs — Contributing</title>
7+
<link rel="preconnect" href="https://fonts.googleapis.com">
8+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poiret+One&family=Noto+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
10+
<script type="module" crossorigin src="../assets/docs/contributing-CC8jrLw6.js"></script>
11+
<link rel="modulepreload" crossorigin href="../assets/styles-DGJLjUaE.js">
12+
<link rel="modulepreload" crossorigin href="../assets/DocsLayout-CwjFaNb7.js">
13+
<link rel="stylesheet" crossorigin href="../assets/styles-CsHvZ3hC.css">
14+
</head>
15+
<body>
16+
<div id="root"></div>
17+
</body>
18+
</html>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Scriberr Docs — Diarization</title>
7+
<link rel="preconnect" href="https://fonts.googleapis.com">
8+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poiret+One&family=Noto+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
10+
<script type="module" crossorigin src="../assets/docs/diarization-7IInt4rl.js"></script>
11+
<link rel="modulepreload" crossorigin href="../assets/styles-DGJLjUaE.js">
12+
<link rel="modulepreload" crossorigin href="../assets/DocsLayout-CwjFaNb7.js">
13+
<link rel="modulepreload" crossorigin href="../assets/Window-BJy5jSY4.js">
14+
<link rel="stylesheet" crossorigin href="../assets/styles-CsHvZ3hC.css">
15+
</head>
16+
<body>
17+
<div id="root"></div>
18+
</body>
19+
</html>

0 commit comments

Comments
 (0)