A refinery in Saudi Arabia's capital, Riyadh, was attacked by a drone on Thursday morning but petroleum supplies were not affected, Saudi state news agency SPA reported early on Friday.