rosetta-pages/.woodpecker.yml
0xMRTT 0ce8ef106a
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
rosetta: update content
2023-05-11 12:41:00 +00:00

24 lines
564 B
YAML

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