Here's a specific map which is actually surjective. Considering $S^1$ as $\{(x, y): x^2 + y^2 = 1\}$ in the Euclidean plane, take the projection $\pi_x: \mathbb{R}^2 \to \mathbb{R}, (x, y) \mapsto x$. Define $f: \mathbb{R} \to \mathbb{R}^2, t \mapsto (\cos \pi t, \sin \pi t)$. Finally define $g$ as the composition restricted to $S^1$: $f \circ (\pi_x | S^1): S^1 \to S^1$. $\pi_x$ and $f$ are both smooth, so $g$ is too. $\pi_x$ is nullhomotopic, so $g$ is nullhomotopic and therefore has degree $0$. And it's clear that (roughly speaking) $g$ goes through all angles in the range $[-\pi, \pi]$ and is therefore onto.
Edit: fixed scaling mistake, clarified domain and range.