Skip to content

Commit b0f3def

Browse files
Merge pull request #89 from priyanshujain/website
feat: website polish and deploy workflow
2 parents 6dff327 + 95f743d commit b0f3def

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Deploy Website
2+
3+
on:
4+
push:
5+
branches: [master]
6+
paths:
7+
- 'website/**'
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: 22
17+
cache: npm
18+
cache-dependency-path: website/package-lock.json
19+
- run: npm ci
20+
working-directory: website
21+
- run: npm run build
22+
working-directory: website
23+
- uses: cloudflare/wrangler-action@v3
24+
with:
25+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
26+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
27+
command: pages deploy dist --project-name=openbotkit --branch=master
28+
workingDirectory: website

website/src/components/CTA.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ import Terminal from './Terminal.astro';
3838

3939
<div class="mt-16 border-t border-border pt-12">
4040
<h2 class="text-[1.4rem] font-semibold leading-[1.7] tracking-[0.02em] text-heading">
41-
Support the project
41+
Support the research
4242
</h2>
4343
<p class="mt-4 text-[1.25rem] leading-[1.7] text-paragraph">
44-
If you find OpenBotKit useful, the easiest way to support it is to
44+
If you find OpenBotKit useful, the easiest way to support this research is to
4545
<a
4646
href="https://github.com/priyanshujain/openbotkit"
4747
target="_blank"

0 commit comments

Comments
 (0)