Skip to content

Commit df4e6a8

Browse files
committed
add GitHub Pages deploy workflow for EvoAgentBench website
1 parent 34af251 commit df4e6a8

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Deploy Website
2+
3+
on:
4+
push:
5+
branches: [feat/readme-redesign]
6+
paths:
7+
- 'benchmarks/EvoAgentBench/website/**'
8+
- '.github/workflows/deploy-website.yml'
9+
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: false
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
defaults:
23+
run:
24+
working-directory: benchmarks/EvoAgentBench/website
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- uses: actions/setup-node@v4
29+
with:
30+
node-version: 20
31+
32+
- run: npm ci
33+
34+
- name: Build
35+
env:
36+
NEXT_PUBLIC_BASE_PATH: /EverOS
37+
run: npm run build
38+
39+
- run: touch out/.nojekyll
40+
41+
- uses: actions/upload-pages-artifact@v3
42+
with:
43+
path: benchmarks/EvoAgentBench/website/out
44+
45+
deploy:
46+
environment:
47+
name: github-pages
48+
url: ${{ steps.deployment.outputs.page_url }}
49+
runs-on: ubuntu-latest
50+
needs: build
51+
steps:
52+
- id: deployment
53+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)