From b2e5a922469c4f8c2bb38f265eb165239b95fef4 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Thu, 11 Aug 2022 13:36:03 +0100 Subject: [PATCH] more hacks...oh god. --- .woodpecker.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 28be32b..7b8f90b 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -13,7 +13,7 @@ pipeline: settings: branch: build remote: git@git.projectsegfau.lt:ProjectSegfault/website.git - force: false + force: true commit: true commit_message : Successfully built the page. ssh_key: @@ -30,5 +30,11 @@ pipeline: port: 6665 command_timeout: 1m script: - - cd /var/www/html + - cd /var/html + - rm -rf html + - git clone https://git.projectsegfau.lt/ProjectSegfault/website.git html + - cd html + - git checkout build - git pull + # I HATE GIT AND HOW THEY FORCE THIS + # todo: do the funny pull but find a way to accept the changes.