From b2e5a922469c4f8c2bb38f265eb165239b95fef4 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Thu, 11 Aug 2022 13:36:03 +0100 Subject: [PATCH 1/4] 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. From f05d0692c570833d26cc080dfed8732478881959 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Thu, 11 Aug 2022 13:39:07 +0100 Subject: [PATCH 2/4] AAAAAAAAAAAAAAAAAAAAAAAAA --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 7b8f90b..4f480f3 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -30,7 +30,7 @@ pipeline: port: 6665 command_timeout: 1m script: - - cd /var/html + - cd /var/www/ - rm -rf html - git clone https://git.projectsegfau.lt/ProjectSegfault/website.git html - cd html From e30deb3b0297e035a72d53a3b7fa6054f05bb45d Mon Sep 17 00:00:00 2001 From: Midou36O Date: Thu, 11 Aug 2022 13:42:30 +0100 Subject: [PATCH 3/4] at least it works --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 4f480f3..66eddf7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -35,6 +35,6 @@ pipeline: - 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. +branches: master From 46c35da1a46d40cece68695c543d16bc3b060008 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Thu, 11 Aug 2022 13:43:22 +0100 Subject: [PATCH 4/4] wake up --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 66eddf7..9103de5 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -37,4 +37,4 @@ pipeline: - git checkout build # I HATE GIT AND HOW THEY FORCE THIS # todo: do the funny pull but find a way to accept the changes. -branches: master +branches: main