Browse Source

Merge branch 'stable'

remotes/origin/test
Matěj Kocián 8 years ago
parent
commit
d809473e0d
  1. 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…
Cancel
Save