From 9c0535d73037572bb5fa72622ebf4b4a776efb72 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Wed, 31 Aug 2022 09:11:56 +0100 Subject: [PATCH] remove woodpecker :( --- .woodpecker.yml | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index 7da68c0..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -1,44 +0,0 @@ -pipeline: - build: - when: - event: [push, pull_request] - image: node:current-bullseye-slim - commands: - - npm install - - npm run build - - pwd - - mv build/ ../ - - rm -rf * - - mv ../build/* . - push: - when: - event: [push] - image: appleboy/drone-git-push - settings: - branch: build - remote: git@github.com:ProjectSegfault/website.git - force: true - commit: true - commit_message: Successfully built the page. - ssh_key: - from_secret: ssh_key_git - update: - when: - event: [push] - image: appleboy/drone-ssh - settings: - host: - - projectsegfau.lt - username: gitea - key: - from_secret: ssh_key - port: 6665 - command_timeout: 1m - script: - - cd /var/www/ - - rm -rf html - - git clone -b build https://github.com/ProjectSegfault/website.git html - - cd html - # I HATE GIT AND HOW THEY FORCE THIS - # todo: do the funny pull but find a way to accept the changes. -branches: main