From 8fab2695bef0ed68066a480b27f22a98461f7243 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Thu, 11 Aug 2022 13:51:30 +0100 Subject: [PATCH] hi --- .woodpecker.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 9103de5..6bf15e1 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,7 +9,7 @@ pipeline: - rm -rf * - mv ../build/* . push: - image: appleboy/drone-git-push + push: image: appleboy/drone-git-push settings: branch: build remote: git@git.projectsegfau.lt:ProjectSegfault/website.git @@ -18,7 +18,8 @@ pipeline: commit_message : Successfully built the page. ssh_key: from_secret: ssh_key_git - + when: + event: [push, tag, deployement] update: image: appleboy/drone-ssh settings: @@ -35,6 +36,8 @@ pipeline: - git clone https://git.projectsegfau.lt/ProjectSegfault/website.git html - cd html - git checkout build + when: + event: [push, tag, deployement] # I HATE GIT AND HOW THEY FORCE THIS # todo: do the funny pull but find a way to accept the changes. branches: main