From 1971d5892626582c375dfe139c6cb4f77a2766e5 Mon Sep 17 00:00:00 2001 From: Brieuc Dubois Date: Fri, 19 Jan 2024 13:48:21 +0100 Subject: [PATCH] Hugo toml to yaml --- .gitea/workflows/release.yaml | 4 +++ hugo.toml | 58 ----------------------------------- hugo.yaml | 50 ++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 58 deletions(-) delete mode 100644 hugo.toml create mode 100644 hugo.yaml diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 9ca73bd..bd7cc01 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -38,3 +38,7 @@ jobs: linux/arm64 tags: | git.bhasher.com/bhasher/blog:latest + + - name: Deploy + run: | + curl -X POST https://portainer.bxl.bhasher.com/api/webhooks/33ee1445-1dba-4c3b-9384-0dc8f7e85369 diff --git a/hugo.toml b/hugo.toml deleted file mode 100644 index 276912f..0000000 --- a/hugo.toml +++ /dev/null @@ -1,58 +0,0 @@ -baseURL = 'https://blog.bdubois.io' -languageCode = 'en-gb' -title = "Brieuc Dubois's blog" -theme = 'hugo-blog-awesome' -relativeURLs= true -uglyURLs = true -enableEmoji = true - -[[params.socialIcons]] -name = "gitea" -url = "https://git.bhasher.com" - -[[params.socialIcons]] -name = "github" -url = "https://github.com/BhasherBEL" - -[[params.socialIcons]] -name = "matrix" -url = "https://matrix.to/#/@bhasher:bhasher.com" - -[[params.socialIcons]] -name = "rss" -url = "feed.xml" - -[outputs] - home = [ "HTML", "RSS" ] - -[markup] - [markup.highlight] - noClasses = false - -[menu] - [[menu.main]] - pageRef = '/' - name = 'Home' - weight = 10 - [[menu.main]] - pageRef = "posts" - name = 'Posts' - weight = 20 - [[menu.main]] - pageRef = 'about' - name = 'About' - weight = 30 - -[params] - sitename = "Brieuc Dubois" - defaultColor = "dark" - description = "Blog of Brieuc Dubois about computer science, software engineering, linux, devops, web developpement, cybersecurity." - rssFeedDescription = "full" - - [params.author] - avatar = "img/profile.webp" - intro = "Brieuc Dubois" - name = "Brieuc Dubois" - # TODO - description = "Computer scientist student from Belgium passionate by programming and learning new things such as DevOps, Go, Svelte or network security." - diff --git a/hugo.yaml b/hugo.yaml new file mode 100644 index 0000000..0f50d27 --- /dev/null +++ b/hugo.yaml @@ -0,0 +1,50 @@ +baseURL: https://blog.bdubois.io +languageCode: en-gb +title: Brieuc Dubois's blog +theme: hugo-blog-awesome +relativeURLs: true +uglyURLs: true +enableEmoji: true +enabeRobotsTXT: true +params: + socialIcons: + - name: gitea + url: https://git.bhasher.com + - name: github + url: https://github.com/BhasherBEL + - name: matrix + url: https://matrix.to/#/@bhasher:bhasher.com + - name: rss + url: feed.xml + sitename: Brieuc Dubois + defaultColor: dark + description: + Blog of Brieuc Dubois about computer science, software engineering, + linux, devops, web developpement, cybersecurity. + rssFeedDescription: full + author: + avatar: img/profile.webp + intro: Brieuc Dubois + name: Brieuc Dubois + description: + Computer scientist student from Belgium passionate by programming + and learning new things such as DevOps, Go, Svelte or network security. +outputs: + home: + - HTML + - RSS +markup: + highlight: + noClasses: false +menu: + main: + - pageRef: / + name: Home + weight: 10 + - pageRef: posts + name: Posts + weight: 20 + - pageRef: about + name: About + weight: 30 +