Compare commits
No commits in common. "ec6d11033c63bc0c66d84fe86506d9edbc7e13d7" and "1979060ad319f6ec944092314b6ba47431047124" have entirely different histories.
ec6d11033c
...
1979060ad3
9 changed files with 57 additions and 54 deletions
|
|
@ -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
10
.woodpecker/test.yaml
Normal 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
|
||||||
16
50x.html
16
50x.html
|
|
@ -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
21
config/ort.conf
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
4
css/pico.classless.jade.min.css
vendored
4
css/pico.classless.jade.min.css
vendored
File diff suppressed because one or more lines are too long
15
docker-compose.yaml
Normal file
15
docker-compose.yaml
Normal 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
|
||||||
BIN
img/cat.jpeg
BIN
img/cat.jpeg
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB |
16
index.html
16
index.html
|
|
@ -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
11
src/index.html
Normal 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>
|
||||||
Loading…
Add table
Reference in a new issue