The way i would go about it would be to dig the hole, and then mix up the existing soil that was dug out with compost, bark chips, well draining potting soil mix, with regards to potting soil i always say be careful as its often shitty quality and doesnt drain well at all. You can purchase soil mixes specifically for cannabis, or you get ones that are advertised as patio mix etc that have perlite (those white styrofoam like balls) that add to aeration and water drainage which is literally one of the most important factors when it comes to growing any plant well. You could also just move the existing soil somewhere else and fill that hole with a nice quality weed mix and call it a day lol.
So you could find another article on this forum for specific soil mixes but i say just focus on getting a nice mix of compost, bark chips and good potting soil, mixed with the existing soil and then throw it back into the hole. Other additives could include bloodmeal, mycorrhizae, worm castings.
When it comes to planting your weed plant, make sure you have grown the seed in a small container and then once big enough move that to a slightly bigger container, and then finally when its quite a big plant and root bound move it gently into a nice little hole in the ground you prepared. Planting the seed directly into the soil is a bad idea in my opinion!
Just remember! DRAINAGE, DRAINAGE AND MORE DRAINAGE!
Good luck have fun!