Drone CI 中文文档

Workspace

Drone automatically creates a temporary directory, known as your workspace, where it clones your repository. The workspace is the current working directory for each step in your pipeline.

Workspace path on Posix systems:

/tmp/drone-${RANDOM}/drone/src

Workspace path on Windows systems:

C:\windows\drone-%RANDOM%\drone\src
Note the workspace is ephemeral. It is created when the pipeline starts and is destroyed after the pipeline completes.