move github setup before deploy