From 7e4e9691d696f95186d6e07f2cc029cf16116e6b Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Tue, 26 Jul 2022 08:46:31 +0200 Subject: [PATCH] update ci; add content --- .woodpecker.yml | 7 ++++--- content/posts/my-first-post.md | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index ce20f6c..1aedfd9 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,6 +1,8 @@ pipeline: build: - image: klakegg/hugo + image: plugins/hugo + settings: + output: /tmp/build update: image: alpine/git @@ -9,9 +11,8 @@ pipeline: - 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/* . + - mv /tmp/build/* . - git add . - git commit -m "Build ${CI_BUILD_NUMBER}" diff --git a/content/posts/my-first-post.md b/content/posts/my-first-post.md index bfe7f74..d96b0d0 100644 --- a/content/posts/my-first-post.md +++ b/content/posts/my-first-post.md @@ -1,5 +1,5 @@ --- -title: "My First Post" +title: "My First Post (A)" date: 2022-07-25T12:44:14+02:00 draft: false ---