Photo:SplashNews.com

Dean McDermott’s got a new gig following his split from wife, Tori Spelling after 18 years of marriage.

SplashNews.com

Dean McDermottstepped out for a good cause even as questions loom over the fate of his marriage toTori Spelling.

The 56-year-old actor took the stage to play the bass guitar at a recent event forWe Got This, which builds “a community of giving and receiving that helps cancer thrivers and supporters live their best lives,” according to the charity’s website.

Dean McDermott’s got a new gig following his split from wife, Tori Spelling after 18 years of marriage.

We Got This did not immediately return PEOPLE’s request for comment about the appearance comes less than three weeks after McDermott announced — in a later-deleted Instagram post — that he and Spelling, 50, wereparting waysafter18 years of marriage.

“It’s with great sadness and a very very heavy heart that after 18 years together and 5 amazing children, that @torispelling and I have decided to go our separate ways, and start a new journey of our own,” he captioned several photos of himself and Spelling with their children.

“We will continue to work together as loving parents and guide and love our children through this difficult time,” he continued. “We ask that you all respect our privacy as we take this time to surround our family with love and work our way through this. Thank you all for your support and kindness.”

Reps for both Spelling and McDermott have not responded to PEOPLE’s repeated requests for comment.

Tori Spelling and Dean McDermott arrive at the FOX Summer TCA 2019 All-Star Party at Fox Studios in August 2019.Gregg DeGuire/FilmMagic

LOS ANGELES, CA - AUGUST 07: Tori Spelling and Dean McDermott arrive at the FOX Summer TCA 2019 All-Star Party at Fox Studios on August 7, 2019 in Los Angeles, California. (Photo by Gregg DeGuire/FilmMagic)

Despite deleting the post, a source previously told PEOPLE that McDermott “100 percent wants toget out of the marriage,” adding, “He took down the post because Tori didn’t want him to keep it up. But he’s packing his bags and is 100 percent serious about it.”

“He can’t take it anymore. He told her he’s done,” the insider added.

Dean McDermott’s got a new gig following his split from wife, Tori Spelling after 18 years of marriage.

However, another source revealed the announcement came as a surprise to some of their friends who were aware of theirprevious struggles as a couple.

“Their friends have seen their ups and downs through the years, but they really did seem to be ina good place in recent months,” says one source close to theBeverly Hills 90210alum. “This feels really out of the blue.”

The source continues, “If this had happened a year ago, it would’ve been expected because things were terrible between them. Sure, they still had their disagreements and didn’t always see eye to eye, but the past six months things had felt good between them.”

Stella Spelling, Tori Spelling, Beau Spelling, Dean McDermott, Finn Spelling, and Hattie Spelling.Stefanie Keenan/Getty

Stella Spelling, Tori Spelling, Beau Spelling, Dean McDermott, Finn Spelling, and Hattie Spelling

Stefanie Keenan/Getty

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

Spelling has yet to speak out about her husband’s announcement but appears to have beensending a message with her fashion.

“She’s not ready to break it yet,” a source close to Spelling previously told PEOPLE. “She knows once she makes an announcement public there is no going back.” The insider also called Spelling’s recent clothing choices a “stunt.”

source: people.com