2023-05-07 17:37:30 +00:00
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: bash
|
|
|
|
commands:
|
|
|
|
- cd /home/0xmrtt
|
|
|
|
- if [ -d website ]; then
|
|
|
|
- cd website
|
|
|
|
- git pull
|
|
|
|
- git submodule update
|
|
|
|
- else
|
|
|
|
- git clone --recursive https://git.exozy.me/0xMRTT/website.git
|
|
|
|
- fi
|
|
|
|
|
|
|
|
pipeline:
|
|
|
|
build:
|
|
|
|
image: bash
|
|
|
|
commands:
|
|
|
|
- cd /home/0xmrtt/website
|
2023-05-07 17:43:18 +00:00
|
|
|
- hugo --minify --cleanDestinationDir --destination /srv/http/pages/0xmrtt
|