Checkout to a branch, not to a commit

This commit is contained in:
Nikolai Rodionov
2023-04-26 07:17:19 +02:00
parent beefd5540f
commit 32b08eac39
2 changed files with 1 additions and 2 deletions

View File

@ -42,7 +42,7 @@ steps:
GIT_LFS_SKIP_SMUDGE: 1
commands:
- git clone $DRONE_REMOTE_URL --recurse-submodules .
- git checkout $DRONE_COMMIT
- git checkout $DRONE_BRANCH
- name: Test a build
image: git.badhouseplants.net/badhouseplants/hugo-builder