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 6878136
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 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 All @@ -206,7 +208,10 @@ jobs:
--exclude '/.git/' \
../website/ \
./
cp ../.asf.yaml .
echo "publish:
whoami: asf-site
subdir: asf-site
" > .asf.yaml
touch .nojekyll
git status --porcelain
if [ "$(git status --porcelain)" != "" ]; then
Expand Down

0 comments on commit 6878136

Please sign in to comment.