diff --git a/.drone.yml b/.drone.yml index aa4c218..68b7539 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,4 +8,11 @@ steps: commands: - npm install - npm run build + - apt-get update + - apt-get install -y rsync - rsync -uav _site/ mattrbld-site + - cd mattrbld-site + - git config --global --add safe.directory /drone/src/mattrbld-site + - git status + - git commit -am "update site at $(date '+%Y-%m-%d %H:%M:%S')" + - git push