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-17 13:31:27 +00:00
|
|
|
- hugo --minify
|
|
|
|
- cp -rf public/* /srv/http/pages/0xmrtt
|