feat: add deployment workflow and update site content for Gitea Pages
All checks were successful
Docker Build and Push Demo / Build-Docker-Image (push) Successful in 56s
All checks were successful
Docker Build and Push Demo / Build-Docker-Image (push) Successful in 56s
This commit is contained in:
31
site/index.html
Normal file
31
site/index.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Hello from Gitea Pages!</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>🎉 Hello from Gitea Pages!</h1>
|
||||
<p>This page is served by Codeberg Pages Server from your Gitea repository.</p>
|
||||
<p>Built by Gitea Actions and deployed automatically! 🚀</p>
|
||||
|
||||
<div class="info">
|
||||
<h2>How it works:</h2>
|
||||
<ul>
|
||||
<li>Push to the <code>pages</code> branch</li>
|
||||
<li>Pages server automatically serves your content</li>
|
||||
<li>Access via: <code>username.eurekin.pl</code> or <code>eurekin.pl/username/repo</code></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="docker-info">
|
||||
<h2>🐳 Docker Image Info</h2>
|
||||
<p>Pull our Docker image:</p>
|
||||
<pre><code>docker pull git.eurekin.pl/eurekin.pl_cloud/hello-gitea:latest</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
50
site/style.css
Normal file
50
site/style.css
Normal file
@@ -0,0 +1,50 @@
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
line-height: 1.6;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
background: white;
|
||||
padding: 2rem;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #333;
|
||||
border-bottom: 3px solid #4CAF50;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
code {
|
||||
background: #f4f4f4;
|
||||
padding: 2px 6px;
|
||||
border-radius: 3px;
|
||||
font-family: 'Courier New', monospace;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #2d2d2d;
|
||||
color: #f8f8f2;
|
||||
padding: 1rem;
|
||||
border-radius: 5px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.info, .docker-info {
|
||||
margin-top: 2rem;
|
||||
padding: 1rem;
|
||||
background: #e8f5e9;
|
||||
border-radius: 5px;
|
||||
border-left: 4px solid #4CAF50;
|
||||
}
|
||||
|
||||
.docker-info {
|
||||
background: #e3f2fd;
|
||||
border-left-color: #2196F3;
|
||||
}
|
||||
Reference in New Issue
Block a user