Skip to content

Commit 5f4777b

Browse files
Merge pull request #2 from Metatronsdoob369/codegen-bot/deploy-dashboard-to-main-1760862129
🚀 Deploy Kali Dashboard to GitHub Pages
2 parents 914e8c2 + f74f6be commit 5f4777b

File tree

7 files changed

+418
-0
lines changed

7 files changed

+418
-0
lines changed

.github/workflows/main.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,53 @@
1+
name: Deploy Dashboard to GitHub Pages
12

3+
on:
4+
push:
5+
branches: [ main ]
6+
paths: [ 'dashboard/**' ]
7+
pull_request:
8+
branches: [ main ]
9+
paths: [ 'dashboard/**' ]
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
validate:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Validate dashboard structure
23+
run: |
24+
echo "Validating dashboard files..."
25+
26+
# Check if dashboard directory exists
27+
if [ ! -d "dashboard" ]; then
28+
echo "❌ Dashboard directory not found"
29+
exit 1
30+
fi
31+
32+
# Check if index.html exists
33+
if [ ! -f "dashboard/index.html" ]; then
34+
echo "❌ dashboard/index.html not found"
35+
exit 1
36+
fi
37+
38+
# Check if assets directory exists
39+
if [ ! -d "dashboard/assets" ]; then
40+
echo "❌ dashboard/assets directory not found"
41+
exit 1
42+
fi
43+
44+
echo "✅ Dashboard structure validation passed"
45+
echo "📁 Dashboard contents:"
46+
find dashboard -type f | head -10
47+
48+
- name: Deploy to main branch (main branch only)
49+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
50+
run: |
51+
echo "🚀 Deploying dashboard to GitHub Pages..."
52+
echo "Dashboard will be available at: http://nodeout.stormrelief.com/"
53+
echo "Note: Actual deployment happens via GitHub Pages legacy mode from main branch"

dashboard/assets/index-DJR9V31x.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)