Skip to content

Commit 5fa172a

Browse files
committed
Add website and GitHub Pages deploy workflow
Serves the static site under website/ via a GitHub Actions workflow triggered on push to the ui branch. Adds CNAME for www.setupagent.work and ignores website/node_modules.
1 parent 3841abd commit 5fa172a

10 files changed

Lines changed: 2644 additions & 1 deletion

File tree

.github/workflows/pages.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Deploy website to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ui]
6+
paths:
7+
- 'website/**'
8+
- '.github/workflows/pages.yml'
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: pages
18+
cancel-in-progress: false
19+
20+
jobs:
21+
deploy:
22+
environment:
23+
name: github-pages
24+
url: ${{ steps.deployment.outputs.page_url }}
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: actions/configure-pages@v5
29+
- uses: actions/upload-pages-artifact@v3
30+
with:
31+
path: ./website
32+
- id: deployment
33+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,6 @@ student_tasks/
170170
docs/bash_tool_enhancements.md
171171

172172
plan/
173-
docs/
173+
docs/
174+
175+
website/node_modules

website/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
www.setupagent.work

website/assets/banner.jpeg

905 KB
Loading

0 commit comments

Comments
 (0)