Home > Software engineering >  How to generate automatically a JavaDoc on a web page
How to generate automatically a JavaDoc on a web page

Time:06-10

I am currently working on a Java project in GitHub and I need on every update to manually generate JavaDoc and upload it on GitHub Page. But it’s very tedious.

And I wondering if is possible to automatise this with a CI?

CodePudding user response:

Generate automatically a JavaDoc to a web page with GitHub Page

Yes is possible, with this code on your GitHub Actions :

name: Deploy Javadoc

on:
  push:
    branches:
      - master
      - main

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