rosetta-pages/.woodpecker.yml

24 lines
564 B
YAML
Raw Normal View History

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