Compare commits

..

4 commits

Author SHA1 Message Date
ec6d11033c added deply pipeline 2025-07-11 22:18:54 +02:00
63fe6aa17f ein bisschen inhalt 2025-07-11 22:09:07 +02:00
34e95a7ebb deleted docker files 2025-07-11 22:07:27 +02:00
2f93d4d730 removed test ci pipeline 2025-07-11 21:45:18 +02:00
9 changed files with 54 additions and 57 deletions

18
.woodpecker/deploy.yaml Normal file
View file

@ -0,0 +1,18 @@
when:
- event: push
branch: main
steps:
- name: deploy
image: appleboy/drone-scp
settings:
host: ${SERVER_HOST}
username: ${SERVER_USER}
port: ${SERVER_PORT}
key:
from_secret: ssh_key
source:
- *.html
- css/*
- img/*
target: ~/oldrabbittown/src

View file

@ -1,10 +0,0 @@
when:
- event: push
branch: main
steps:
- name: build
image: debian
commands:
- echo "This is the build step"
- echo "binary-data-123" > executable

16
50x.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Old Rabbit Town</title>
<link rel="stylesheet" href="css/pico.classless.jade.min.css">
</head>
<body>
<h1>Das hätte nicht passieren sollen</h1>
<p>Scheinbar ist der Server kaputt, vielleicht ist es aber auch genug Internet für heute...</p>
</body>
</html>

View file

@ -1,21 +0,0 @@
server {
listen 80;
listen [::]:80;
server_name oldrabbit.town;
#access_log /var/log/nginx/host.access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}

4
css/pico.classless.jade.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,15 +0,0 @@
networks:
pangolin:
external: true
name: pangolin
services:
nginx:
container_name: nginx
image: nginx
# ports:
# - 8000:80
volumes:
- ./src:/usr/share/nginx/html
- ./config:/etc/nginx/conf.d
networks:
- pangolin

BIN
img/cat.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

16
index.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Old Rabbit Town</title>
<link rel="stylesheet" href="css/pico.classless.jade.min.css">
</head>
<body>
<h1>Willkommen im O.R.T</h1>
<p>Hier ist noch kein Inhalt</p>
<img src="img/cat.jpeg" alt="cat">
<p>Aber eine Katze</p>
</body>
</html>

View file

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Old Rabbit Town</title>
</head>
<body>
<h1>Hello World naja</h1>
</body>
</html>