Cookbooks
github
documentation
Deploy

Back to resource list

github_deploy

Downloads an asset from a Github repository and then deploys it as an application

Actions

ActionDescription
:deployDownloads an asset from a Github repository and then deploys it

Properties

NameTypeDefaultDescription
repoStringResource nameRepository org and name
versionStringGit ref (branch, tag, etc) (required)
github_userStringGithub user for authentication
github_tokenStringGithub token for authentication
hostStringhttps://github.comGithub endpoint host
pathStringPath to deploy the application
ownerStringOwner for extracted archive
groupStringGroup for extracted archive
shared_directoriesArray['pids', 'logs']Shared directories to create an symlink
configureProcBlock of code to run in a configure phase
before_migrateProcBlock of code to run before migration phase
after_migrateProcBlock of code to run after migration phase
migrateProcBlock of code to run during migration phase
forcetrue, falsefalseForce downloading and extracting archive

Examples

github_deploy 'elixir-lang/elixir' do
  version 'v1.12'
  path '/tmp/deploy'
end