pantheon-systems / circleci-orb

Use CircleCI to push code to Pantheon Dev and Multidev Environments
10 stars 18 forks source link

Add parameter for "Directory to push" #36

Closed stevector closed 4 years ago

stevector commented 4 years ago

The orb currently assumes that the code to be pushed is at the root of the current working directory (the git root). That might not be true if the given repo is a decoupled project with a PHP CMS in one directory and a node/JAM stack codebase in another directory.

stevector commented 4 years ago

Before merging I should get feedback and add to the readme.

tmountjr commented 4 years ago

Ah, makes sense. So in a decoupled build where npm run build creates a dist folder, in the config.yml file I would specify dist as the directory_to_push parameter. I'll give this a shot in my project, let you know how it goes.

tmountjr commented 4 years ago

Success! My refactor build pipeline picked up the commit message and persisted it to the Pantheon dashboard.