Having a goal (either an event or something else) can be a big motivator.

So can riding with other people (actually I don't much like riding by myself in any case). Join a club ride, or just find some other people to ride with. Then you know where you're going to be and what you're going to be doing, whenever it is, on the days you don't have to work.

When I'm struggling hardest to drag myself out for a run, sometimes I just put my running clothes on. Then I've gotten them dirty and I have to run.