asciidoctor / asciidoctor-gradle-examples

A collection of example projects that demonstrates how to use the Asciidoctor Gradle plugin
http://asciidoctor.github.io/asciidoctor-gradle-examples
Other
146 stars 132 forks source link

Upgrade reveal.js example to Asciidoctor Gradle Plugin 3.x #55

Closed ggrossetie closed 4 years ago

ggrossetie commented 4 years ago
ggrossetie commented 4 years ago

@rwinch let me know if that's what you expected :wink:

rwinch commented 4 years ago

It looks like it isn't pushing to gh-pages properly now.

ggrossetie commented 4 years ago

It looks like it isn't pushing to gh-pages properly now.

Is the GIT_URL environment variable properly defined in Travis? The build looks fine but since the output of the git push command is sent to /dev/null it's hard to find the root cause.

git push -f "${GIT_URL}" gh-pages > /dev/null 2>&1

I believe that the GIT_URL is private (ie. it contains a private token) so that's why we redirect the output to /dev/null?

@rwinch How can I help to troubleshoot this issue?

rwinch commented 4 years ago

@Mogztter I ended up running the commands locally and found that the output paths for asciidoctor were hardcoded to the old output paths so there was nothing being copied over. I updated that and now the site is getting published properly.

Thanks again for your help!