Skip to content

Commit 17ba9df

Browse files
clauderuvnet
andcommitted
ci(wifi-veil): add GitHub Pages workflow for the Console
Publish ui/veil-console.html as the site landing page (index.html) via GitHub Pages on push to main. The console is a single self-contained file (inline CSS/JS, no network), so the build just stages it. Enable once under Settings → Pages → Source: "GitHub Actions". Co-Authored-By: claude-flow <ruv@ruv.net> Claude-Session: https://claude.ai/code/session_01WEXNqzs7UsfNFBcP5yW21p
1 parent 5114ed1 commit 17ba9df

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Pages
2+
3+
# Publish the WiFi Veil Console (ui/veil-console.html) to GitHub Pages.
4+
# The console is a single self-contained file (inline CSS/JS, no network), so the
5+
# "build" is just staging it as the site's index.html. Enable once under
6+
# Settings → Pages → Source: "GitHub Actions".
7+
8+
on:
9+
push:
10+
branches: [main]
11+
paths:
12+
- "ui/**"
13+
- ".github/workflows/pages.yml"
14+
workflow_dispatch:
15+
16+
permissions:
17+
contents: read
18+
pages: write
19+
id-token: write
20+
21+
# Allow one concurrent deployment; don't cancel an in-progress one.
22+
concurrency:
23+
group: pages
24+
cancel-in-progress: false
25+
26+
jobs:
27+
deploy:
28+
environment:
29+
name: github-pages
30+
url: ${{ steps.deployment.outputs.page_url }}
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
- name: Stage the console as the site
35+
run: |
36+
mkdir -p _site
37+
cp ui/veil-console.html _site/index.html
38+
cp ui/veil-console.html _site/veil-console.html
39+
- uses: actions/configure-pages@v5
40+
- uses: actions/upload-pages-artifact@v3
41+
with:
42+
path: _site
43+
- id: deployment
44+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)