This is an automated email from the ASF dual-hosted git repository.

stevedlawrence pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-site.git


The following commit(s) were added to refs/heads/main by this push:
     new d8b2bf6  Generate tunables.md in update-docs workflow
d8b2bf6 is described below

commit d8b2bf650bf290848ccbc41472be70bb7806e5b9
Author: Steve Lawrence <[email protected]>
AuthorDate: Tue Aug 25 13:09:09 2026 -0400

    Generate tunables.md in update-docs workflow
    
    - Run genTunablesDoc and copies the resulting file to the site directory
    - Also updates variables to attempt to distinguish the difference
      between the 'site' repo directory and the same named 'site'
      subdirectory that contains the .md files and other site documentation
---
 .github/workflows/update-docs.yml | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/update-docs.yml 
b/.github/workflows/update-docs.yml
index dc9bdfe..706a910 100644
--- a/.github/workflows/update-docs.yml
+++ b/.github/workflows/update-docs.yml
@@ -99,9 +99,10 @@ jobs:
         working-directory: project
         if: ${{ inputs.project == 'daffodil' }}
         run: |
-          SITE_ROOT=${{ github.workspace }}/site
-          DOCS_DIR=$SITE_ROOT/site/docs/$VERSION
-          TUTORIALS_DIR=$SITE_ROOT/site/tutorials
+          SITE_REPO=${{ github.workspace }}/site
+          SITE_DIR=$SITE_REPO/site
+          DOCS_DIR=$SITE_DIR/docs/$VERSION
+          TUTORIALS_DIR=$SITE_DIR/tutorials
           rm -rf $DOCS_DIR
           rm -rf $TUTORIALS_DIR
 
@@ -109,6 +110,9 @@ jobs:
           mkdir -p $DOCS_DIR/javadoc/
           cp -R target/scala-*/unidoc/* $DOCS_DIR/javadoc/
 
+          sbt genTunablesDoc
+          cp target/tunables.md $SITE_DIR/
+
           mkdir -p $TUTORIALS_DIR
           cp -R tutorials/src/main/resources/* $TUTORIALS_DIR/
 
@@ -116,8 +120,9 @@ jobs:
         working-directory: project
         if: ${{ inputs.project == 'daffodil-vscode.wiki' }}
         run: |
-          SITE_ROOT=${{ github.workspace }}/site
-          DOCS_DIR=$SITE_ROOT/site/docs/vscode/$VERSION
+          SITE_REPO=${{ github.workspace }}/site
+          SITE_DIR=$SITE_REPO/site
+          DOCS_DIR=$SITE_DIR/docs/vscode/$VERSION
           rm -rf $DOCS_DIR
 
           
MD_NAME="Apache-Daffodilâ„¢-Extension-for-Visual-Studio-Code:-v$VERSION.md"

Reply via email to