From 1bc5dd7198eff20de22f20b2047bc91fd706184f Mon Sep 17 00:00:00 2001 From: BigGamerGary Date: Wed, 13 Aug 2025 20:13:52 +1000 Subject: [PATCH] Test --- .woodpecker.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5ef3e3e..c355382 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,11 +2,9 @@ kind: pipeline # Defines this as a Woodpecker CI pipeline. name: restart-discord-bot # A descriptive name for your pipeline. # Defines when this pipeline should be triggered. -trigger: - branch: - - main # This pipeline will only run when changes are pushed to the 'main' branch. - event: - - push # The pipeline is triggered specifically by a 'push' event. +when: + - event: push + branch: main steps: - name: restart-bot # Name of the step that restarts your bot.