The attempt came just hours after Spain announced measures to deter migrants , mostly from west Africa , from storming Melilla and its sister enclave , Ceuta .