Replaced move commands with copy
the build was successful Details

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2018-07-04 10:18:05 +02:00
parent 4e3a60abb0
commit 0c1814429d
1 changed files with 4 additions and 2 deletions

View File

@ -35,10 +35,12 @@ pipeline:
delete: true
secrets: [ rsync_key ]
script:
- shopt -s dotglob
- rm -rf tmp/old.build
- mkdir tmp/old.build
- mv html/{.,}* tmp/old.build/
- mv tmp/build/{.,}* html/
- cp -r html/* tmp/old.build/
- rm -rf html/*
- cp -r tmp/build/* html/
- rm -rf tmp/build
notify:
image: drillster/drone-email