I've just gone to the fount of all-knowledge(ish) to refresh my memory in case I was wrong and it is there in black and white - goes back to the 1930s.
Woke
"... Black American folk singer-songwriter Huddie Ledbetter, a.k.a. Lead Belly, uses the phrase near the end of the recording of his 1938 song "Scottsboro Boys", which tells the story of nine black teenagers accused of raping two white women, saying: "I advise everybody, be a little careful when they go along through there – best stay woke, keep their eyes open."[9][10] Aja Romano writes at Vox that this represents "Black Americans' need to be aware of racially motivated threats and the potential dangers of white America".[4] J. Saunders Redding recorded a comment from an African American United Mine Workers official in 1940, stating: "Let me tell you buddy. Waking up is a damn sight harder than going to sleep, but we'll stay woke up longer."[11]
By the mid-20th century, woke had come to mean "well-informed" or "aware",[12] especially in a political or cultural sense.[6] The Oxford English Dictionary traces the earliest such usage to a 1962 New York Times Magazine article titled "If You're Woke You Dig It" by African-American novelist William Melvin Kelley, describing the appropriation of Black slang by white beatniks.[6]
Woke had gained more political connotations by 1971 when the play Garvey Lives! by Barry Beckham included the line: "I been sleeping all my life. And now that Mr. Garvey done woke me up, I'm gon' stay woke. And I'm gon help him wake up other black folk."[13][14] Marcus Garvey had himself exhorted his early 20th century audiences, "Wake up Ethiopia! Wake up Africa!"[5] Romano describes this as "a call to global Black citizens to become more socially and politically conscious".[4] ..."