Skip to content

Commit 45c4abc

Browse files
authored
Create publish_javadoc.yml
1 parent 06b1485 commit 45c4abc

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/publish_javadoc.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Deploy Javadoc
2+
3+
on:
4+
workflow_dispatch:
5+
release:
6+
types: [published]
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write # if you have a protection rule on your repository, you'll need to give write permission to the workflow.
13+
steps:
14+
- name: Deploy JavaDoc 🚀
15+
uses: MathieuSoysal/[email protected]
16+
with:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
javadoc-branch: javadoc
19+
java-version: 17
20+
target-folder: javadoc # url will be https://equinor.github.io/neqsim/javadoc
21+
project: maven

0 commit comments

Comments
 (0)