Skip to content

Instantly share code, notes, and snippets.

@jayzz55
Created November 19, 2015 04:37
Show Gist options
  • Save jayzz55/400de8c244309d853d87 to your computer and use it in GitHub Desktop.
Save jayzz55/400de8c244309d853d87 to your computer and use it in GitHub Desktop.
PubKeys_deploy_all
def deploy_all(files_list, path) do
files_list
|> Enum.reject(&empty?(&1))
|> Enum.map(&scp_to_server(&1, path))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment