diff --git a/.drone.yml b/.drone.yml index 0ef42c2..bdc9e63 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,11 +12,11 @@ steps: - npm install - npm run build - apt-get update && apt-get install -y rsync - - rsync -uav _site/ mattrbld-site + - rsync -uavh _site/ mattrbld-site --delete --exclude .git - cd mattrbld-site - git config --global --add safe.directory /drone/src/mattrbld-site - git add * - - git commit -m "update site at $(date '+%Y-%m-%d %H:%M:%S')" + - git commit -m "drone build $(date)" - git remote set-url origin https://heckin.technology/inherentlee/mattrbld-site.git - git config credential.helper '!f() { echo username=inherentlee; echo "password=$GIT_TOKEN"; };f' - git push