Nagorno-Karabakh capital rocked by Azerbaijani attack before ceasefire reached