initial commit: test-web template CI/CD
This commit is contained in:
10
.woodpecker.yml
Normal file
10
.woodpecker.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
pipeline:
|
||||||
|
deploy:
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- cd /var/www/projects/test-web
|
||||||
|
- git config --global --add safe.directory /var/www/projects/test-web
|
||||||
|
- git remote set-url origin https://uzivibecode:${CI_FORGE_TOKEN}@git.sukabelajar.web.id/uzivibecode/test-web.git || true
|
||||||
|
- git fetch origin main
|
||||||
|
- git reset --hard origin/main
|
||||||
|
- echo "✅ Deploy selesai!"
|
||||||
48
index.html
Normal file
48
index.html
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="id">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Test Web - CI/CD Template</title>
|
||||||
|
<style>
|
||||||
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||||
|
body {
|
||||||
|
background: #0f0f23;
|
||||||
|
color: #e0e0e0;
|
||||||
|
font-family: 'Segoe UI', sans-serif;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
min-height: 100vh;
|
||||||
|
}
|
||||||
|
.card {
|
||||||
|
background: linear-gradient(135deg, #1a1a2e, #16213e);
|
||||||
|
border: 1px solid #0f3460;
|
||||||
|
border-radius: 16px;
|
||||||
|
padding: 40px;
|
||||||
|
text-align: center;
|
||||||
|
max-width: 500px;
|
||||||
|
box-shadow: 0 8px 32px rgba(0,0,0,0.4);
|
||||||
|
}
|
||||||
|
h1 { font-size: 2rem; margin-bottom: 12px; color: #53c4f7; }
|
||||||
|
p { color: #aaa; margin-bottom: 8px; }
|
||||||
|
.badge {
|
||||||
|
display: inline-block;
|
||||||
|
background: #0f3460;
|
||||||
|
color: #53c4f7;
|
||||||
|
padding: 4px 12px;
|
||||||
|
border-radius: 20px;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
margin-top: 16px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="card">
|
||||||
|
<h1>🚀 Test Web</h1>
|
||||||
|
<p>Proyek template CI/CD berhasil di-deploy!</p>
|
||||||
|
<p>Edit file ini, push ke Gitea, dan lihat otomatis terupdate.</p>
|
||||||
|
<span class="badge">Woodpecker CI ✅</span>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Reference in New Issue
Block a user