redhataccess / pantheon-cmd

Pantheon CMD is an open source and freely distributed program for validating and building local previews of modular documentation.
GNU General Public License v3.0
2 stars 5 forks source link

The 'generate' action only runs if a pantheon2.yml file already exists #34

Closed adahms closed 3 years ago

adahms commented 3 years ago

Today, PCMD always searches for a pantheon2.yml file before running actions. If no pantheon2.yml file is present, this means the tool exists before it reaches the 'generate' action.

We should restructure the actions so there's a set that don't need a pantheon2.yml file, then check if the file is there, then our remaining actions that do need it.

Levi-Leah commented 3 years ago

I’ll fix that ASAP

Levi-Leah commented 3 years ago

This also affects the PR validation

Levi-Leah commented 3 years ago

addressed in https://github.com/redhataccess/pantheon-cmd/pull/37