generated from inherentlee/11ty
try to specifically checkout a branch
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@ -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)"
|
||||||
|
|||||||
Reference in New Issue
Block a user