The Federated Power Grid. Based on Open. From hyperlocal to smart villages to smart cities. https://fedigrid.net
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.
 
 
fedigridsource/.woodpecker.yml

23 lines
844 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/fedigridsource/_site
- git config --global user.email "$CBMAIL"
- git config --global user.name "CI Builder"
- git clone -b pages https://$CBTOKEN@codeberg.org/jwildeboer/fedigrid.git
- mv fedigrid _site
- chmod -R a+w _site
- cd _site
- git remote set-url origin https://$CBTOKEN@codeberg.org/jwildeboer/fedigrid.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