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.