DRONE_BUILD_EVENT

Provides the event that triggered the pipeline execution.

DRONE_BUILD_EVENT=push
DRONE_BUILD_EVENT=pull_request
DRONE_BUILD_EVENT=promote
DRONE_BUILD_EVENT=rollback
DRONE_BUILD_EVENT=tag
DRONE_BUILD_EVENT=cron
DRONE_BUILD_EVENT=custom