init
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2024-01-26 20:22:12 +01:00
commit d5b22be0ba
5 changed files with 63 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
resources/_gen/assets/scss/sass

27
.woodpecker.yml Normal file
View 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
View file

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

28
config.toml Normal file
View 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

@ -0,0 +1 @@
Subproject commit e15a01404d88fbe105d1ee7fffe5801f6a40ee39