Drone CI 中文文档

DRONE_COMMIT_REF

Provides the git reference for the current running build.

DRONE_COMMIT_REF=refs/heads/master

Example tag reference:

DRONE_COMMIT_REF=refs/tags/v1.0.0

Example pull request reference (GitHub):

DRONE_COMMIT_REF=refs/pull/42/head