blog/.woodpecker.yml
chapeau eb7457107f
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
CI fix ?
2024-06-27 08:58:03 +02:00

22 lines
No EOL
747 B
YAML

pipeline:
build:
image: debian:bookworm
secrets: [ token, mail ]
commands:
- apt update
- apt install -y ruby-full build-essential git
- gem install bundler --verbose
- git config --global --add safe.directory '*'
- git config --global user.email "$MAIL"
- git config --global user.name "CI Builder"
- git clone https://git.chapoline.me/chapeau/blog-static.git _site
# - chmod -R a+w .
- cd _site
- git remote set-url origin https://$TOKEN@git.chapoline.me/chapeau/blog-static.git
- cd ..
- bundle install --retry 4
- bundle exec jekyll build
- cd _site
- git add --all
- git commit -m "Build"
- git push --set-upstream origin main