orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
514 stars 53 forks source link

CLI Flag environment variable archetypes not working in Gradle/Maven builds #213

Closed cjbrooks12 closed 5 years ago

cjbrooks12 commented 5 years ago

The Gradle/Maven plugins pass all command-line args to Orchid, which may include empty values. These empty values override the archetype values which come from environment variables, and so environment variables such as githubToken are never used when running Orchid via Gradle or Maven.