diff --git a/.drone.yml b/.drone.yml index 62f8012..d3bd61c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,11 +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 - - ls -al $REPOSITORY + - git submodule update --remote --init --recursive --rebase - rsync -uavh _site/ $REPOSITORY --delete --exclude .git - cd $REPOSITORY - - ls -al + - git status - git config --global --add safe.directory /drone/src/$REPOSITORY - git add -A - git commit -m "drone build $(TZ=':America/Los_Angeles' date)"