Skip to content

Commit 2cdc249

Browse files
author
InfoTech.io Bot
committed
Add simple test workflow for GitHub Pages
- Create basic HTML page to test deployment - Verify GitHub Pages setup is working - Simple approach before complex Hugo builds 🤖 Generated with Claude Code
1 parent ab1dca4 commit 2cdc249

1 file changed

Lines changed: 91 additions & 0 deletions

File tree

.github/workflows/simple-test.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
name: Simple Test Deploy
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
pages: write
9+
id-token: write
10+
11+
concurrency:
12+
group: "pages"
13+
cancel-in-progress: false
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup Pages
23+
id: pages
24+
uses: actions/configure-pages@v4
25+
26+
- name: Create simple test site
27+
run: |
28+
mkdir -p build-output
29+
cat > build-output/index.html << 'EOF'
30+
<!DOCTYPE html>
31+
<html>
32+
<head>
33+
<meta charset="utf-8">
34+
<title>InfoTech.io - Test Site</title>
35+
<style>
36+
body { font-family: Arial, sans-serif; margin: 40px; }
37+
.container { max-width: 800px; margin: 0 auto; }
38+
.header { color: #333; }
39+
.status { color: #28a745; }
40+
.links { margin-top: 30px; }
41+
.links a { display: block; margin: 10px 0; }
42+
</style>
43+
</head>
44+
<body>
45+
<div class="container">
46+
<h1 class="header">InfoTech.io</h1>
47+
<p class="status">✅ GitHub Pages Hub is working!</p>
48+
49+
<h2>Organization</h2>
50+
<p>Open Source Educational Technology Organization</p>
51+
52+
<h2>Our Products</h2>
53+
<div class="links">
54+
<a href="https://infotecha.ru">🎓 ИНФОТЕКА - Educational Platform</a>
55+
<a href="/quiz/">📝 Quiz Engine Documentation</a>
56+
<a href="/hugo/">🏗️ Hugo Templates Documentation</a>
57+
<a href="/terminal/">💻 Web Terminal Documentation</a>
58+
<a href="/cli/">⚙️ CLI Tools Documentation</a>
59+
</div>
60+
61+
<h2>For Developers</h2>
62+
<div class="links">
63+
<a href="https://github.com/info-tech-io">🐙 GitHub Organization</a>
64+
<a href="/contributing/">🤝 Contributing Guide</a>
65+
<a href="/architecture/">🏛️ Architecture Overview</a>
66+
</div>
67+
68+
<footer style="margin-top: 50px; padding-top: 20px; border-top: 1px solid #eee; color: #666;">
69+
<p>Generated: $(date)</p>
70+
<p>🤖 Built with <a href="https://claude.ai/code">Claude Code</a></p>
71+
</footer>
72+
</div>
73+
</body>
74+
</html>
75+
EOF
76+
77+
- name: Upload artifact
78+
uses: actions/upload-pages-artifact@v3
79+
with:
80+
path: build-output
81+
82+
deploy:
83+
environment:
84+
name: github-pages
85+
url: ${{ steps.deployment.outputs.page_url }}
86+
runs-on: ubuntu-latest
87+
needs: build
88+
steps:
89+
- name: Deploy to GitHub Pages
90+
id: deployment
91+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)