Compare commits

..

No commits in common. "ec6d11033c63bc0c66d84fe86506d9edbc7e13d7" and "1979060ad319f6ec944092314b6ba47431047124" have entirely different histories.

9 changed files with 57 additions and 54 deletions

View file

@ -1,18 +0,0 @@
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

10
.woodpecker/test.yaml Normal file
View file

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

View file

@ -1,16 +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>
<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>

21
config/ort.conf Normal file
View file

@ -0,0 +1,21 @@
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;
}
}

File diff suppressed because one or more lines are too long

15
docker-compose.yaml Normal file
View file

@ -0,0 +1,15 @@
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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View file

@ -1,16 +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>
<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>

11
src/index.html Normal file
View file

@ -0,0 +1,11 @@
<!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>