Skip to content

Commit

Permalink
Create publish_javadoc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfstatoil authored Mar 21, 2024
1 parent 06b1485 commit 45c4abc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish_javadoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Deploy Javadoc

on:
workflow_dispatch:
release:
types: [published]

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/Javadoc-publisher.yml@v2.5.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: javadoc
java-version: 17
target-folder: javadoc # url will be https://equinor.github.io/neqsim/javadoc
project: maven

0 comments on commit 45c4abc

Please sign in to comment.