From 866f709fc0f3801c9abb519e2ac09a5cd88d2575 Mon Sep 17 00:00:00 2001 From: SSP6904 Date: Sat, 1 Jun 2024 19:16:26 -0400 Subject: [PATCH] Fix 1 for woodpcker --- .woodpecker.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1c0f3cb..b3492cc 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,21 +1,14 @@ -pipeline: - build: - # Use the official jekyll build container - image: node - secrets: [ cbtoken, cbmail ] +steps: + buildsite: + image: ruby 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 + pushsite: + image: node + commands: - npx @getmeli/cli upload --url https://meli.ttnrtsite.me --site f8b4282b-3f0d-4c41-a416-4f65172aef21 --token 2577f1f5cbe808de165ad493c95a595df7ac7d4c92d42fed4e6df6b36d852016 _site