pipeline: build: # Use the official jekyll build container image: node secrets: [ cbtoken, cbmail ] commands: # Avoid permission denied errors - chmod -R a+w . # Set up git in a working way - git config --global --add safe.directory /woodpecker/src/git.ttnrtsite.me/TTNRT/pages.git/public - git config --global user.email "$CBMAIL" - git config --global user.name "CI Builder" # clone and move the target repo - git clone https://git.ttnrtsite.me/TTNRT/pages.git - cd pages - apt update - apt install ruby ruby-dev git curl -y -f - gem install bundler - bundle install - bundle exec jekyll build - npx @getmeli/cli upload --url https://meli.ttnrtsite.me --site f8b4282b-3f0d-4c41-a416-4f65172aef21 --token 2577f1f5cbe808de165ad493c95a595df7ac7d4c92d42fed4e6df6b36d852016 _site