Skip to content

Commit

Permalink
Update and rename actions-publish-javadoc.yml to publish-javadoc.yml
Browse files Browse the repository at this point in the history
trying this action instead
  • Loading branch information
11BelowStudio authored Feb 28, 2024
1 parent c7e963d commit c09ddd6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/actions-publish-javadoc.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/publish-javadoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy Javadoc

on:
push:
branches:
- master
- main

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write # if you have a protection rule on your repository, you'll need to give write permission to the workflow.
steps:
- name: Deploy JavaDoc 🚀
uses: MathieuSoysal/[email protected]
# https://github.com/marketplace/actions/deploy-publish-javadoc
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: gh-pages
java-version: 8
target-folder: "" # url will be https://<username>.github.io/<repo>/javadoc, This can be left as nothing to generate javadocs in the root folder.
project: maven

0 comments on commit c09ddd6

Please sign in to comment.