|
|
@ -98,7 +98,7 @@ deploy_prod: |
|
|
|
sync_test_media: |
|
|
|
@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 |
|
|
|
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_db: |
|
|
|