Skip to content

Commit

Permalink
Update javadoc_publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonoym authored Oct 4, 2023
1 parent ae07348 commit 5488c94
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/javadoc_publish.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
name: Publish Javadoc to web
# name: Publish Javadoc to web

on:
push:
# Sequence of patterns matched against refs/heads
branches:
# Push events on main branch
- main
# on:
# push:
# # Sequence of patterns matched against refs/heads
# branches:
# # Push events on main branch
# - main

jobs:
build_and_publish_jdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # Checkout repo to remote machine
- name: Set up OpenJDK17
uses: actions/setup-java@v1
with:
java-version: '17'
# jobs:
# build_and_publish_jdoc:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3 # Checkout repo to remote machine
# - name: Set up OpenJDK17
# uses: actions/setup-java@v1
# with:
# java-version: '17'

- name: Build Javadoc
run: |
cd $GRADLE_DIR
chmod +x ./gradlew
./gradlew javadoc
env:
GRADLE_DIR: 'source' # Modify this to wherever './gradlew' is
# - name: Build Javadoc
# run: |
# cd $GRADLE_DIR
# chmod +x ./gradlew
# ./gradlew javadoc
# env:
# GRADLE_DIR: 'source' # Modify this to wherever './gradlew' is

- name: Deploy docs to GH Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: source/core/build/docs/javadoc/ # The folder the action should deploy.
# - name: Deploy docs to GH Pages
# uses: JamesIves/[email protected]
# with:
# branch: gh-pages # The branch the action should deploy to.
# folder: source/core/build/docs/javadoc/ # The folder the action should deploy.

0 comments on commit 5488c94

Please sign in to comment.