asciidoctor / asciidoctor-gradle-plugin

A Gradle plugin that uses Asciidoctor via JRuby to process AsciiDoc source files within the project.
https://asciidoctor.github.io/asciidoctor-gradle-plugin/
Apache License 2.0
286 stars 122 forks source link

Update rules to detect CI run to publish docs #717

Closed abelsromero closed 9 months ago

abelsromero commented 9 months ago

Inject branch as env var and validate it's one of the accepted ones. Trying to keep things simple, but in fact, the check could be removed since the branch is validated in the GH action.

abelsromero commented 9 months ago

There's some issue with credentials

https://github.com/asciidoctor/asciidoctor-gradle-plugin/actions/runs/7963989968/job/21740629028#step:6:625

I'll setup my fork and see to it there.