Replaced move commands with copy
the build was successful
Details
the build was successful
Details
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
4e3a60abb0
commit
0c1814429d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue