Deploy button doesn't work

Hi, I am trying to deploy a build but when I click ‘Deploy’ nothing happens.
I get this error in my console
Screenshot from 2020-08-20 13-40-36

Before this, I had a deploy that did work (two weeks ago)

have you checked your server logs? returning a nil build would mean that no build was created. The likely root cause is that you are trying to promote a build, but your yaml has a trigger section that is evaluating to false, preventing the promotion. Your server logs would tell you more.

These are my logs when I run ‘docker logs drone’

{“commit”:“2c6fc6b8daaf03f3b897b3d2636a60e5da8ca394”,“event”:“promote”,“level”:“info”,“msg”:“trigger: skipping pipeline, does not match event”,“pipeline”:“default”,“ref”:“refs/heads/master”,“repo”:“medic-chat/medic-chat-v1”,“time”:“2020-08-20T16:17:24Z”}
{“commit”:“2c6fc6b8daaf03f3b897b3d2636a60e5da8ca394”,“event”:“promote”,“level”:“info”,“msg”:“trigger: skipping build, no matching pipelines”,“pipeline”:“default”,“ref”:“refs/heads/master”,“repo”:“medic-chat/medic-chat-v1”,“time”:“2020-08-20T16:17:24Z”}

And here is my .yml
kind: pipeline
type: docker
name: default

steps:
  - name: build
    image: gabrielnicolae313/meteord:latest
    commands:
      - meteor npm install --alow-superuser
    volumes:
      - name: docker_socket
        path: /var/run/docker.sock

  - name: deploy-staging
    image: gabrielnicolae313/meteord:latest
    commands:
      # Deploy and sync db
      - sh deploy-staging.sh
      - sh sync-prod-with-staging-db.sh
    when:
      event: push # Execute this step only when somebody pushes to master

  - name: ui-testing
    image: cypress/browsers:chrome69
    commands:
      - sh run-cypress-tests-ci.sh
    when:
      event: push # Execute this step only when somebody pushes to master

  - name: deploy-sandbox
    image: gabrielnicolae313/meteord:latest
    commands:
      - sh deploy-sandbox.sh
    when:
      event:
      - promote
      target:
      - sandbox  

  - name: deploy-production
    image: gabrielnicolae313/meteord:latest
    commands:
      - sh deploy-production.sh
    when:
      event:
      - promote
      target:
      - production 

trigger:
  branch:
    - master
  event:
    - push
    
volumes:
  - name: docker_socket
    host:
      path: /var/run/docker.sock

when you promote a build, the event type will be promote. The trigger section, as defined above, would evaluate to false since it is limited to push events and would therefore not execute your pipeline.