try to specifically checkout a branch
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-05-14 11:06:22 -07:00
parent 285ce4d0f9
commit 864a427107

View File

@ -14,10 +14,10 @@ steps:
- npm run build - npm run build
- apt-get update && apt-get install -y rsync - apt-get update && apt-get install -y rsync
- git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f' - 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 - rsync -uavh _site/ $REPOSITORY --delete --exclude .git
- cd $REPOSITORY - cd $REPOSITORY
- git status - git checkout main
- git config --global --add safe.directory /drone/src/$REPOSITORY - git config --global --add safe.directory /drone/src/$REPOSITORY
- git add -A - git add -A
- git commit -m "drone build $(TZ=':America/Los_Angeles' date)" - git commit -m "drone build $(TZ=':America/Los_Angeles' date)"