name: Generate Github Pages from ASCIIDoc

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  checkout-and-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Build ASCIIDoc with Gradle
        run: ./gradlew clean asciidoctor
      - name: Simple deploy with git
        uses: rdarida/simple-github-pages-deploy-action@v1
        with:
          git-base-folder: build/docs/asciidoc/en/
name: Generate Github Pages from ASCIIDoc

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  checkout-and-deploy:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        java: [ 11 ]
    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Set up java
        uses: actions/setup-java@v1
        with:
          java-version: ${{ matrix.java }}
      - name: Build ASCIIDoc with Gradle
        run: ./gradlew clean asciidoctor
      - name: Simple deploy with git
        uses: rdarida/simple-github-pages-deploy-action@v1
        with:
          git-base-folder: build/docs/asciidoc/en/
Fix CI action to set JDK11
Fix CI action to set JDK11
