You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
dwsource/.woodpecker.yml

24 lines
863 B

# .woodpecker.yml
pipeline:
build:
image: jekyll/jekyll
secrets: [ cbtoken, cbmail ]
commands:
- chmod -R a+w .
- git config --global --add safe.directory /woodpecker/src/codeberg.org/jwildeboer/dwsource/_site
- git config --global user.email "$CBMAIL"
- git config --global user.name "CI Builder"
- git config --global init.defaultBranch pages
- git clone -b pages https://codeberg.org/jwildeboer/dw.git
- mv dw _site
- chmod -R a+w _site
- cd _site
- git remote set-url origin https://$CBTOKEN@codeberg.org/jwildeboer/dw.git
- cd ..
- bundle install
- bundle exec jekyll build
- cp domains _site/.domains
- cd _site
- git add --all
- git commit -m "Woodpecker CI Jekyll Build at $( env TZ=Europe/Berlin date +"%Y-%m-%d %X %Z" )"
- git push