From dab31ab6bb0099dd08380818abc60b19262b7017 Mon Sep 17 00:00:00 2001 From: appleb_m Date: Mon, 5 Jan 2026 13:35:37 +0100 Subject: [PATCH] change location of gitpages deploy in workflows --- .gitea/workflows/action.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/action.yaml b/.gitea/workflows/action.yaml index 0d4b6f41..0873f206 100644 --- a/.gitea/workflows/action.yaml +++ b/.gitea/workflows/action.yaml @@ -125,7 +125,7 @@ jobs: echo "=== Sphinx build failed with exit $?: showing build output and tree ===" echo "Contents of docs/ after build attempt:" ls -la - echo "Contents of docs/_build (if any):" + echo "Contents of daq/docs/_build (if any):" ls -la _build || true # If sphinx produced a build log file, print it if [ -f sphinx-build.log ]; then @@ -138,7 +138,7 @@ jobs: # Sanity check: ensure HTML output exists before continuing to deploy if [ ! -d _build/html ] || [ -z "$(ls -A _build/html)" ]; then - echo "ERROR: docs/_build/html does not exist or is empty after successful sphinx-build." + echo "ERROR: daq/docs/_build/html does not exist or is empty after successful sphinx-build." ls -la _build || true exit 1 fi @@ -154,17 +154,17 @@ jobs: git config --global user.email "$GIT_EMAIL" # Deploy strategy: create/update branch gitea-pages and replace its contents - # with the generated docs/_build/html. This keeps only the documentation + # with the generated daq/docs/_build/html. This keeps only the documentation # on the gitea-pages branch. # Confirm build output exists (relative to repository root) - BUILD_DIR="docs/_build/html" + BUILD_DIR="daq/docs/_build/html" echo "Checking build output at: $BUILD_DIR" if [ ! -d "$BUILD_DIR" ] || [ -z "$(ls -A "$BUILD_DIR")" ]; then echo "ERROR: $BUILD_DIR does not exist or is empty" echo "Listing docs/:" ls -la docs || true - echo "Listing docs/_build:" - ls -la docs/_build || true + echo "Listing daq/docs/_build:" + ls -la daq/docs/_build || true exit 1 fi # Work in a temporary clone to avoid touching the runner workspace