This commit is contained in:
parent
866ed69e88
commit
37eec41549
|
@ -3,22 +3,22 @@ clone:
|
||||||
image: bash
|
image: bash
|
||||||
commands:
|
commands:
|
||||||
- cd /home/0xmrtt
|
- cd /home/0xmrtt
|
||||||
- if [ -d imaginer-pages ]; then
|
- if [ -d bavarder-pages ]; then
|
||||||
- cd imaginer-pages
|
- cd bavarder-pages
|
||||||
- git pull
|
- git pull
|
||||||
- git submodule update
|
- git submodule update
|
||||||
- else
|
- else
|
||||||
- git clone --recursive https://git.exozy.me/0xMRTT/imaginer-pages.git
|
- git clone --recursive https://git.exozy.me/0xMRTT/bavarder-pages.git
|
||||||
- fi
|
- fi
|
||||||
|
|
||||||
pipeline:
|
pipeline:
|
||||||
build:
|
build:
|
||||||
image: bash
|
image: bash
|
||||||
commands:
|
commands:
|
||||||
- cd /home/0xmrtt/imaginer-pages
|
- cd /home/0xmrtt/bavarder-pages
|
||||||
- hugo --minify
|
- hugo --minify
|
||||||
- cp -rf public/* /home/0xmrtt/imaginer-pages-public
|
- cp -rf public/* /home/0xmrtt/bavarder-pages-public
|
||||||
- cd /home/0xmrtt/imaginer-pages-public
|
- cd /home/0xmrtt/bavarder-pages-public
|
||||||
- git add .
|
- git add .
|
||||||
- git commit -m "Update"
|
- git commit -m "Update"
|
||||||
- git push
|
- git push
|
Loading…
Reference in a new issue