add head action server

from #41 (Repair from master branch to development)
don't need this