diff --git a/.woodpecker.yml b/.woodpecker.yml index 1aedfd9..ce20f6c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,8 +1,6 @@ pipeline: build: - image: plugins/hugo - settings: - output: /tmp/build + image: klakegg/hugo update: image: alpine/git @@ -11,8 +9,9 @@ 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/build/* . + - mv /tmp/public/* . - git add . - git commit -m "Build ${CI_BUILD_NUMBER}"