@davoodmehraban89 / Aram-2 Mirror · read-only / commits / 99cb95d
Fork 0

Mirrored from https://github.com/davoodmehraban89/Aram.git

Synced Dec 4, 14:15 UTC

ci(pilot): deploy browser edition to GitHub Pages (auto-enable)

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>

davoodmehraban89 committed Dec 3, 2026 at 08:19 UTC 99cb95d3810834ac3c1b14081025d3f1018fd24e
1 file changed +47
.github/workflows/pilot-pages.yml new
+47
@@ -0,0 +1,47 @@
1 +name: Deploy Pilot Workbench (browser edition) to Pages
2 +
3 +on:
4 + push:
5 + branches: [arena/094f314c-aram]
6 + paths:
7 + - "docs/**"
8 + - "webapp/**"
9 + - "scripts/build_webapp.py"
10 + - ".github/workflows/pilot-pages.yml"
11 + workflow_dispatch:
12 +
13 +permissions:
14 + contents: read
15 + pages: write
16 + id-token: write
17 +
18 +concurrency:
19 + group: pilot-pages
20 + cancel-in-progress: true
21 +
22 +jobs:
23 + deploy:
24 + runs-on: ubuntu-latest
25 + environment:
26 + name: github-pages
27 + url: ${{ steps.deployment.outputs.page_url }}
28 + steps:
29 + - name: Checkout
30 + uses: actions/checkout@v4
31 +
32 + - name: Rebuild browser bundle from engine sources
33 + run: python scripts/build_webapp.py
34 +
35 + - name: Configure Pages (auto-enable if needed)
36 + uses: actions/configure-pages@v5
37 + with:
38 + enablement: true
39 +
40 + - name: Upload site artifact
41 + uses: actions/upload-pages-artifact@v3
42 + with:
43 + path: docs
44 +
45 + - name: Deploy to GitHub Pages
46 + id: deployment
47 + uses: actions/deploy-pages@v4