-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify.html
More file actions
124 lines (116 loc) · 4.13 KB
/
verify.html
File metadata and controls
124 lines (116 loc) · 4.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>GitHub Pages 部署验证</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
max-width: 800px;
margin: 40px auto;
padding: 20px;
line-height: 1.6;
color: #333;
}
.status {
padding: 15px;
border-radius: 8px;
margin: 20px 0;
}
.success {
background: #d4edda;
border: 1px solid #c3e6cb;
color: #155724;
}
.info {
background: #d1ecf1;
border: 1px solid #bee5eb;
color: #0c5460;
}
.warning {
background: #fff3cd;
border: 1px solid #ffeaa7;
color: #856404;
}
.button {
display: inline-block;
padding: 12px 24px;
background: #007AFF;
color: white;
text-decoration: none;
border-radius: 8px;
margin: 10px 10px 10px 0;
transition: background 0.2s;
}
.button:hover {
background: #0056b3;
}
.code {
background: #f8f9fa;
padding: 2px 6px;
border-radius: 4px;
font-family: monospace;
}
</style>
</head>
<body>
<h1>🚀 GitHub Pages 部署完成</h1>
<div class="status success">
<h3>✅ 部署成功</h3>
<p>您的Chromium Weekly Report已成功部署到GitHub Pages!</p>
</div>
<div class="status info">
<h3>📋 接下来的步骤</h3>
<p>请在GitHub仓库中完成以下设置:</p>
<ol>
<li>前往 <a href="https://github.com/Yanhu007/Prompts/settings/pages" target="_blank">GitHub Pages 设置</a></li>
<li>在 "Source" 选择 <span class="code">GitHub Actions</span></li>
<li>保存设置并等待部署完成</li>
</ol>
</div>
<div class="status warning">
<h3>⚠️ 权限设置</h3>
<p>确保在 <a href="https://github.com/Yanhu007/Prompts/settings/actions" target="_blank">Actions 设置</a> 中启用了写入权限:</p>
<ul>
<li>选择 "Read and write permissions"</li>
<li>勾选 "Allow GitHub Actions to create and approve pull requests"</li>
</ul>
</div>
<h2>🌐 访问链接</h2>
<a href="https://yanhu007.github.io/Prompts/" class="button" target="_blank">访问GitHub Pages</a>
<a href="https://github.com/Yanhu007/Prompts" class="button" target="_blank">查看仓库</a>
<a href="https://github.com/Yanhu007/Prompts/actions" class="button" target="_blank">查看部署状态</a>
<h2>📊 页面特性</h2>
<ul>
<li>🎨 苹果风格UI设计</li>
<li>📱 完全响应式布局</li>
<li>📈 交互式数据可视化</li>
<li>🧭 智能导航系统</li>
<li>⚡ 优化的加载性能</li>
<li>🔍 SEO和社交媒体优化</li>
</ul>
<div class="status info">
<h3>🔄 自动更新</h3>
<p>每次您推送新的报告到 <span class="code">main</span> 分支时,网站会自动更新。只需更新 <span class="code">index.html</span> 文件即可。</p>
</div>
<script>
// 检查页面加载状态
document.addEventListener('DOMContentLoaded', function() {
console.log('✅ GitHub Pages 验证页面加载成功');
// 尝试访问主页面
fetch('https://yanhu007.github.io/Prompts/')
.then(response => {
if (response.ok) {
console.log('✅ 主页面可访问');
} else {
console.log('⚠️ 主页面可能还在部署中');
}
})
.catch(error => {
console.log('ℹ️ 跨域限制或页面还在部署中');
});
});
</script>
</body>
</html>