24 lines
No EOL
570 B
YAML
24 lines
No EOL
570 B
YAML
clone:
|
|
git:
|
|
image: bash
|
|
commands:
|
|
- cd /home/0xmrtt
|
|
- if [ -d imaginer-pages ]; then
|
|
- cd imaginer-pages
|
|
- git pull
|
|
- git submodule update
|
|
- else
|
|
- git clone --recursive https://git.exozy.me/0xMRTT/imaginer-pages.git
|
|
- fi
|
|
|
|
pipeline:
|
|
build:
|
|
image: bash
|
|
commands:
|
|
- cd /home/0xmrtt/imaginer-pages
|
|
- hugo --minify
|
|
- cp -rf public/* /home/0xmrtt/imaginer-pages-public
|
|
- cd /home/0xmrtt/imaginer-pages-public
|
|
- git add .
|
|
- git commit -m "Update"
|
|
- git push |