Skip to content

Commit

Permalink
Merge pull request #708 from Goooler/master
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray authored Jan 11, 2024
2 parents 13b8663 + 46f0adf commit 01733d2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/push-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
jobs:
check:
runs-on: ubuntu-latest
if: github.repository == 'asciidoctor/asciidoctor-gradle-plugin'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand All @@ -15,11 +16,14 @@ jobs:
- uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true
- run: cd docs
- name: Combine documentation
run: ./gradlew --console=plain -q combineDocs
run: |
cd docs
./gradlew --console=plain -q combineDocs
- name: Publish documentation
run: ./gradlew --console=plain --info :antora:publishDocs :gh-pages:publishDocs
run: |
cd docs
./gradlew --console=plain --info :antora:publishDocs :gh-pages:publishDocs
-Dorg.ajoberstar.grgit.auth.username=${{ secrets.GITHUB_PUBLISH_USER }}
-Dorg.ajoberstar.grgit.auth.password=${{ secrets.GITHUB_PUBLISH_KEY }}
-Dorg.ajoberstar.grgit.auth.force=hardcoded

0 comments on commit 01733d2

Please sign in to comment.