Skip to content

Add catch around velocity-kick-message (because it seems to be causin… #3

Add catch around velocity-kick-message (because it seems to be causin…

Add catch around velocity-kick-message (because it seems to be causin… #3

Workflow file for this run

name: JavaDocs Generation
on:
push:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7
with:
arguments: :api:javadoc
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'api/build/docs/javadoc'
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2