Skip to content
This repository was archived by the owner on Feb 22, 2021. It is now read-only.
This repository was archived by the owner on Feb 22, 2021. It is now read-only.

Deploying app from a subdirectory? #67

@julien51

Description

@julien51

Hello,
Our app is not at the "root" of the code repository, is there a way to handle that with this cookbook?
Currently our application is deployed with

application 'app' do

  path _path
  owner _owner
  group _group
  deploy_key _pkey
  rollback_on_error true

  # repository "[email protected]:code/full.git"
  # revision "master"

  symlinks 'log' => 'log', 'node_modules' => 'node_modules'

  # packages %w( git )
  action :deploy
end

But the code we'd like to deploy is not at the root of github.com:code/full but rather inside a subdirectory called app.

Is there a way to tell this cookbook to only take the content of the subdirectory and put it in path ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions