The Communists in Cuba didn't assist Castro in his revolution. They weren't on the side of the students. They didn't do anything to help in the invasion or the long-continuing struggle from the Oriente province down.
It wasn't until Castro marched triumphantly into Cuba that you might say the whole thing grew into a Marxist revolution.