This commit is contained in:
commit
d5b22be0ba
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
resources/_gen/assets/scss/sass
|
27
.woodpecker.yml
Normal file
27
.woodpecker.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: klakegg/hugo
|
||||||
|
|
||||||
|
update:
|
||||||
|
image: alpine/git
|
||||||
|
commands:
|
||||||
|
- git fetch --no-tags origin +refs/heads/pages
|
||||||
|
- git switch pages
|
||||||
|
- git config --global user.email ci@gitnet.fr
|
||||||
|
- git config --global user.name CI
|
||||||
|
- mv public /tmp/
|
||||||
|
- rm * -fr
|
||||||
|
- mv /tmp/public/* .
|
||||||
|
- git add .
|
||||||
|
- git commit -m "Build ${CI_BUILD_NUMBER}"
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
image: appleboy/drone-git-push
|
||||||
|
commands:
|
||||||
|
settings:
|
||||||
|
branch: pages
|
||||||
|
remote: git@gitnet.fr:deblan/pages.git
|
||||||
|
force: false
|
||||||
|
commit: false
|
||||||
|
ssh_key:
|
||||||
|
from_secret: ssh_priv_key
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
28
config.toml
Normal file
28
config.toml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
baseURL = "https://deblan.gitnet.page"
|
||||||
|
languageCode = "fr-fr"
|
||||||
|
title = "Simon Vieille"
|
||||||
|
theme = "nightfall"
|
||||||
|
|
||||||
|
[params]
|
||||||
|
user = "simon"
|
||||||
|
hostname = "deblan"
|
||||||
|
|
||||||
|
[params.author]
|
||||||
|
name = "Simon Vieille"
|
||||||
|
email = ""
|
||||||
|
|
||||||
|
[[params.social]]
|
||||||
|
key = 1
|
||||||
|
name = "blog"
|
||||||
|
url = "https://www.deblan.io"
|
||||||
|
|
||||||
|
[[params.social]]
|
||||||
|
key = 2
|
||||||
|
name = "gitnet"
|
||||||
|
url = "https://gitnet.fr/deblan"
|
||||||
|
|
||||||
|
[[params.social]]
|
||||||
|
key = 3
|
||||||
|
name = "mastodon"
|
||||||
|
url = "https://mamot.fr/@deblan"
|
||||||
|
rel = "me" # You can also add rel to social link
|
1
themes/nightfall
Submodule
1
themes/nightfall
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e15a01404d88fbe105d1ee7fffe5801f6a40ee39
|
Loading…
Reference in a new issue