From bbcd7be19d8870bf14e097925a4b718e40cc0927 Mon Sep 17 00:00:00 2001 From: Shaun Hoffer Date: Thu, 25 Jul 2024 15:15:01 -0400 Subject: [PATCH] testing for ci --- .woodpecker.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 310aa6f..17c91cc 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,13 +1,25 @@ steps: buildsite: image: ruby + when: + - event: manual # workflow should run if you execute it manual + - event: push # workflow should run on each push ( = on each commit) commands: - chmod -R a+w . - gem install bundler - bundle install - bundle exec jekyll build pushsite: - image: node + when: + - event: manual # workflow should run if you execute it manual + - event: push # workflow should run on each push ( = on each commit) + image: ubuntu + secrets: [ gittoken, gitemail ] commands: - - npx @getmeli/cli upload --url https://meli.ttnrtsite.me --site 59998170-c2a6-4d1c-887c-c5246c436ce4 --token bbb1863e849a2abc179c22aa0e187e2fe4e800f4966b0fc111451247fa193411 _site + - apt update + - apt install -y git + - git config --global user.email "$GITEMAIL" + - git config --global user.name "ssp6904" + - git config --global --add --bool push.autoSetupRemote true + - ls _site