If you just want to clear loose dirt or leaves off your deck it’s better to use a broom than a hose. (Plus, it’s much more environmentally-friendly and you can get some exercise!)
If you do have to use water on the deck be sure you have good drainage and do it during the day so it will dry. Water left to pool on any deck is never a good idea. This is why it’s also good to keep your deck clear of wet leaves.