Compare commits
4 commits
1979060ad3
...
ec6d11033c
| Author | SHA1 | Date | |
|---|---|---|---|
| ec6d11033c | |||
| 63fe6aa17f | |||
| 34e95a7ebb | |||
| 2f93d4d730 |
9 changed files with 54 additions and 57 deletions
18
.woodpecker/deploy.yaml
Normal file
18
.woodpecker/deploy.yaml
Normal 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
|
||||||
|
|
@ -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
16
50x.html
Normal 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>
|
||||||
|
|
@ -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
4
css/pico.classless.jade.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -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
BIN
img/cat.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
16
index.html
Normal file
16
index.html
Normal 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>
|
||||||
|
|
@ -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>
|
|
||||||
Loading…
Add table
Reference in a new issue