This commit is contained in:
parent
1a65a4785f
commit
7e4e9691d6
|
@ -1,6 +1,8 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: klakegg/hugo
|
image: plugins/hugo
|
||||||
|
settings:
|
||||||
|
output: /tmp/build
|
||||||
|
|
||||||
update:
|
update:
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
|
@ -9,9 +11,8 @@ pipeline:
|
||||||
- git switch pages
|
- git switch pages
|
||||||
- git config --global user.email ci@gitnet.fr
|
- git config --global user.email ci@gitnet.fr
|
||||||
- git config --global user.name CI
|
- git config --global user.name CI
|
||||||
- mv public /tmp/
|
|
||||||
- rm * -fr
|
- rm * -fr
|
||||||
- mv /tmp/public/* .
|
- mv /tmp/build/* .
|
||||||
- git add .
|
- git add .
|
||||||
- git commit -m "Build ${CI_BUILD_NUMBER}"
|
- git commit -m "Build ${CI_BUILD_NUMBER}"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: "My First Post"
|
title: "My First Post (A)"
|
||||||
date: 2022-07-25T12:44:14+02:00
|
date: 2022-07-25T12:44:14+02:00
|
||||||
draft: false
|
draft: false
|
||||||
---
|
---
|
||||||
|
|
Loading…
Reference in a new issue