From 864a427107dc4134deec8f2ff7c5816da6e6cdaf Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Thu, 14 May 2026 11:06:22 -0700 Subject: [PATCH] try to specifically checkout a branch --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5ded11b..b214e21 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,10 +14,10 @@ steps: - npm run build - apt-get update && apt-get install -y rsync - git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f' - - git submodule update --remote --init --recursive --merge + - git submodule update --remote --init --merge - rsync -uavh _site/ $REPOSITORY --delete --exclude .git - cd $REPOSITORY - - git status + - git checkout main - git config --global --add safe.directory /drone/src/$REPOSITORY - git add -A - git commit -m "drone build $(TZ=':America/Los_Angeles' date)"