Skip to content

Commit 698f09f

Browse files
committed
ci: restore github pages deploy workflow
Accidentally removed in 4abbb57 (stash-pop conflict resolution) alongside oma-agent harness files under .github/. Restores auto-deploy to firstfluke.com on push to main.
1 parent 0cf5cdf commit 698f09f

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- uses: oven-sh/setup-bun@v2
24+
with:
25+
bun-version: 1.3.5
26+
27+
- run: bun install --frozen-lockfile
28+
29+
- run: bun run build
30+
env:
31+
NEXT_TELEMETRY_DISABLED: "1"
32+
NEXT_PUBLIC_CONTACT_API_URL: ${{ vars.NEXT_PUBLIC_CONTACT_API_URL }}
33+
34+
- uses: actions/configure-pages@v5
35+
with:
36+
enablement: true
37+
38+
- run: touch out/.nojekyll
39+
40+
- uses: actions/upload-pages-artifact@v3
41+
with:
42+
path: out
43+
44+
deploy:
45+
needs: build
46+
runs-on: ubuntu-latest
47+
environment:
48+
name: github-pages
49+
url: ${{ steps.deployment.outputs.page_url }}
50+
steps:
51+
- id: deployment
52+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)