Home > Software design >  GitHub Actions : How to generate and publish JavaDoc to a web page with Gradle project
GitHub Actions : How to generate and publish JavaDoc to a web page with Gradle project

Time:12-08

I need to generate a JavaDoc from my GitHub repository and publish it to a webpage like GitHub Page.

I found this solution on StackOverflow: Publish automatically JavaDoc: with GitHub Actions

name: Deploy Javadoc

on:
  push:
    branches:
      - master
      - main

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - name: Deploy JavaDoc            
  • Related