2023-10-13 16:30:18 +00:00
|
|
|
clone:
|
|
|
|
git:
|
2023-11-04 15:25:16 +00:00
|
|
|
image: fish
|
2023-10-13 16:30:18 +00:00
|
|
|
commands:
|
2023-11-04 15:25:16 +00:00
|
|
|
- cd ~/.exoci
|
|
|
|
- if test -d website
|
|
|
|
- cd website
|
2023-10-13 16:30:18 +00:00
|
|
|
- git pull
|
2023-11-04 15:28:29 +00:00
|
|
|
- git submodule update --remote --merge
|
2023-10-13 16:30:18 +00:00
|
|
|
- else
|
2023-11-04 15:28:29 +00:00
|
|
|
- git clone --recursive https://git.exozy.me/daudix/website.git
|
2023-11-04 15:25:16 +00:00
|
|
|
- end
|
2023-10-13 16:30:18 +00:00
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
2023-11-04 15:25:16 +00:00
|
|
|
image: fish
|
2023-10-13 16:30:18 +00:00
|
|
|
commands:
|
2023-11-04 15:25:16 +00:00
|
|
|
- cd ~/.exoci/website
|
|
|
|
- zola build --output-dir /srv/http/pages/daudix --force
|