From d011872e62994792305b293bf0b144c9baa76b0b Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sat, 12 Nov 2022 11:27:14 -0300 Subject: [PATCH] Add woodpecker.yml --- .woodpecker.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..f9e52c9 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,15 @@ +pipeline: + build: + image: bash + commands: + - git config --local user.name "$(git log --format=%an | head -n 1)" + - git config --local user.email "$(git log --format=%ae | head -n 1)" + - git switch master + - git restore --source experiment -- install.sh + - mv install.sh index.html + - rm -f install.sh + - [ ! -z "$(git status --porcelain)" ] || exit 0 + - git add index.html + - git commit -m "Add changes from master branch" + - git push +