Generalize Spring Boot description #319
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
asciidoctor: | |
name: "Asciidoctor" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 11 | |
cache: 'gradle' | |
- name: Run Asciidoctor | |
run: ./gradlew asciidoctor | |
- name: Publish to GitHub Pages | |
if: github.repository == 'assertj/doc' && github.event_name == 'push' | |
run: ./gradlew --stacktrace --info gitPublishPush | |
env: | |
GIT_COMMITTER_NAME: GitHub Actions | |
GIT_COMMITTER_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com | |
GRGIT_USER: ${{ secrets.ASCIIDOCTOR_TOKEN }} |