Makefile: při sync_test_media maž soubory navíc
This commit is contained in:
parent
75794b5e48
commit
f180494f8a
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -98,7 +98,7 @@ deploy_prod:
|
||||||
sync_test_media:
|
sync_test_media:
|
||||||
@if [ ${USER} != "www-mam" ]; then echo "Only possible by user www-mam"; exit 1; fi
|
@if [ ${USER} != "www-mam" ]; then echo "Only possible by user www-mam"; exit 1; fi
|
||||||
@if [ `pwd` != "/akce/MaM/WWW/mamweb-test" ]; then echo "Only possible in /akce/MaM/WWW/mamweb-test"; exit 1; fi
|
@if [ `pwd` != "/akce/MaM/WWW/mamweb-test" ]; then echo "Only possible in /akce/MaM/WWW/mamweb-test"; exit 1; fi
|
||||||
rsync -av /akce/MaM/WWW/mamweb-prod/media/ ./media
|
rsync -av --delete /akce/MaM/WWW/mamweb-prod/media/ ./media
|
||||||
|
|
||||||
# Sync test database with production database
|
# Sync test database with production database
|
||||||
sync_test_db:
|
sync_test_db:
|
||||||
|
|
Loading…
Reference in a new issue