name: Build and Deploy Docs
on:
  push:
    branches:
      - master
jobs:
  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v1
      - name: Build docs
        run: ./gradlew clean dokkaJavadoc
      - name: Build and Deploy
        uses: JamesIves/github-pages-deploy-action@master
        env:
          ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
          BASE_BRANCH: master
          BRANCH: gh-pages
          FOLDER: build/docs/javadoc
          BUILD_SCRIPT:

name: Build and Deploy Docs
on:
  push:
    branches:
      - master
jobs:
  build-and-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v1
      - name: Build docs
        run: ./gradlew clean dokkaJavadoc
      - name: Build and Deploy
        uses: JamesIves/github-pages-deploy-action@4.1.0
        env:
          ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
          BASE_BRANCH: master
          BRANCH: gh-pages
          FOLDER: build/docs/javadoc
          BUILD_SCRIPT:

Set action version to 4.1.0
Set action version to 4.1.0
