Skip to content

Commit

Permalink
Fix the path for Java javadoc HTMLs
Browse files Browse the repository at this point in the history
Do not trigger the workflow for changes in the SDKs

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Apr 13, 2023
1 parent 1ac7785 commit e9a1e9e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
paths:
- .github/workflows/docs.yaml
- doc/**
- lang/c/**

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -139,14 +138,12 @@ jobs:
run: |
set -x
cd lang/java
mvn -Pdist javadoc::aggregate
ls -la target
ls -la target/apidocs
mvn javadoc::aggregate
- uses: actions/upload-artifact@v3
with:
name: api-java
path: lang/java/target/apidocs
path: lang/java/target/site/apidocs

push-website:
name: Push website
Expand Down Expand Up @@ -193,6 +190,11 @@ jobs:
run: |
set -x
mkdir -p website/docs/++version++/api/c
mkdir -p website/docs/++version++/api/cpp/html
mkdir -p website/docs/++version++/api/csharp/html
mkdir -p website/docs/++version++/api/java
mv api-c/* website/docs/++version++/api/c/
mv api-c++/* website/docs/++version++/api/cpp/html/
mv api-csharp/* website/docs/++version++/api/csharp/html/
Expand Down

0 comments on commit e9a1e9e

Please sign in to comment.