ci: update
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
0xMRTT 2023-05-10 15:11:34 +02:00
parent 866ed69e88
commit 37eec41549
Signed by: 0xmrtt
GPG key ID: 19C1449A774028BD

View file

@ -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