From d99e92d0b3bc51e5f5bb30e5fbfb528921920b35 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Fri, 12 Aug 2022 23:24:05 +0100 Subject: [PATCH] Fix CI and PRs should be safe now. --- .woodpecker.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index ab71047..bcbf225 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,5 +1,7 @@ pipeline: - build: + build: + when: + event: [push, pull_request] image: node:bullseye-slim commands: - npm install @@ -9,7 +11,8 @@ pipeline: - rm -rf * - mv ../build/* . push: - event: [push, tag, deployment] + when: + event: [push] image: appleboy/drone-git-push settings: branch: build @@ -19,9 +22,9 @@ pipeline: commit_message: Successfully built the page. ssh_key: from_secret: ssh_key_git - update: - event: [push, tag, deployment] + when: + event: [push] image: appleboy/drone-ssh settings: host: