Hendrik Langer
5 years ago
8 changed files with 84 additions and 11 deletions
@ -0,0 +1,34 @@ |
|||
kind: pipeline |
|||
type: docker |
|||
name: default |
|||
|
|||
steps: |
|||
- name: build |
|||
image: python |
|||
commands: |
|||
- pip install mkdocs |
|||
- pip install mkdocs-bootstrap386 |
|||
- mkdocs build |
|||
|
|||
scp -r ./site user@host:/path/to/server/root |
|||
|
|||
- name: deploy |
|||
image: appleboy/drone-scp |
|||
settings: |
|||
host: 172.16.85.15 |
|||
target: /var/www/h3ndrik.de |
|||
source: site/* |
|||
# rm: true |
|||
strip_components: 1 |
|||
username: |
|||
from_secret: ssh_username |
|||
password: |
|||
from_secret: ssh_password |
|||
port: |
|||
from_secret: ssh_port |
|||
when: |
|||
branch: |
|||
- master |
|||
event: |
|||
exclude: |
|||
- pull_request |
@ -1,10 +1,2 @@ |
|||
# ---> Hugo |
|||
# Generated files by hugo |
|||
/public/ |
|||
/resources/_gen/ |
|||
|
|||
# Executable may be added to repository |
|||
hugo.exe |
|||
hugo.darwin |
|||
hugo.linux |
|||
|
|||
# ---> MkDocs |
|||
site/ |
|||
|
@ -0,0 +1,3 @@ |
|||
[submodule "mkdocs-bootstrap386"] |
|||
path = mkdocs-bootstrap386 |
|||
url = https://gitlab.com/lramage/mkdocs-bootstrap386.git |
@ -1,3 +1,5 @@ |
|||
# h3ndrik.de |
|||
|
|||
homepage |
|||
|
|||
[![Build Status](https://drone.xd0.de/api/badges/hendrik/h3ndrik.de/status.svg)](https://drone.xd0.de/hendrik/h3ndrik.de) |
|||
|
@ -0,0 +1,17 @@ |
|||
# Welcome to MkDocs |
|||
|
|||
For full documentation visit [mkdocs.org](https://mkdocs.org). |
|||
|
|||
## Commands |
|||
|
|||
* `mkdocs new [dir-name]` - Create a new project. |
|||
* `mkdocs serve` - Start the live-reloading docs server. |
|||
* `mkdocs build` - Build the documentation site. |
|||
* `mkdocs help` - Print this help message. |
|||
|
|||
## Project layout |
|||
|
|||
mkdocs.yml # The configuration file. |
|||
docs/ |
|||
index.md # The documentation homepage. |
|||
... # Other markdown pages, images and other files. |
@ -0,0 +1,17 @@ |
|||
# Welcome to MkDocs |
|||
|
|||
For full documentation visit [mkdocs.org](https://mkdocs.org). |
|||
|
|||
## Commands |
|||
|
|||
* `mkdocs new [dir-name]` - Create a new project. |
|||
* `mkdocs serve` - Start the live-reloading docs server. |
|||
* `mkdocs build` - Build the documentation site. |
|||
* `mkdocs help` - Print this help message. |
|||
|
|||
## Project layout |
|||
|
|||
mkdocs.yml # The configuration file. |
|||
docs/ |
|||
index.md # The documentation homepage. |
|||
... # Other markdown pages, images and other files. |
@ -0,0 +1,7 @@ |
|||
site_name: h3ndrik.de |
|||
nav: |
|||
- Home: index.md |
|||
- About: about.md |
|||
theme: |
|||
name: null |
|||
custom_dir: 'mkdocs-bootstrap386/mkdocs_bootstrap386' |
Loading…
Reference in new issue