This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch subsite in repository https://gitbox.apache.org/repos/asf/attic.git
commit 1ac0a488d73cc583d987bdc775491b87b217a612 Author: Sebb <s...@apache.org> AuthorDate: Tue Apr 15 23:36:04 2025 +0100 Move output to subdir --- .github/workflows/build.yml | 8 ++++---- build.sh | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6d6b4b..685a8f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,14 +39,14 @@ jobs: with: ref: asf-site fetch-depth: 1 - path: docs + path: asf-site - name: 🔧 Build site run: | - rm -rf docs/* - ./build.sh + rm -rf asf-site/output/* + ./build.sh -Ddocs.dest=asf-site/output - name: 🚀 Add commit to the asf-site if: ${{ github.event_name == 'push' }} - working-directory: docs + working-directory: asf-site run: | echo "Running git config" git config user.name "GitHub Actions" diff --git a/build.sh b/build.sh index 83bfd49..6db1319 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash -# Script to build the Attic site from xdocs/ sources to docs/ html output +# Script to build the Attic site from xdocs/ sources to html output +# default output is in docs/, override with -Ddocs.dest=path -ant -Danakia.check.date=false +ant -Danakia.check.date=false "$@"