From d6471ad90b69b2eaf2b28f58b862adce31ea5084 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Fri, 8 May 2026 09:24:33 +0200 Subject: [PATCH] Update .gitea/workflows/copy_documentation.yml --- .gitea/workflows/copy_documentation.yml | 88 +++++++++++++------------ 1 file changed, 46 insertions(+), 42 deletions(-) diff --git a/.gitea/workflows/copy_documentation.yml b/.gitea/workflows/copy_documentation.yml index 51ff2f1..9aa5232 100644 --- a/.gitea/workflows/copy_documentation.yml +++ b/.gitea/workflows/copy_documentation.yml @@ -1,42 +1,46 @@ -name: Copy Documentation to webserver - -on: - push: - branches: - - '**' - pull_request: - branches: - - '**' - -jobs: - copy-documentation: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Install Dependencies - run: | - apt-get update - apt-get install -y rsync # Install required packages - - - name: Check volume - run: | - mount | grep /web/nanobrain || true - ls -la /web || true - cat /proc/self/mounts | grep nanobrain || true - ls -la /web/nanobrain; id; stat -c "%u:%g %n" /volume1/web/passer_life/documentation/nanobrain - - - name: Ensure destination exists - run: | - mkdir -p /web/nanobrain - chown -R $USER:$USER /web/nanobrain - - - - name: Copy html folder - run: | - find / -path '*/web/nanobrain/*' - rsync -av --delete Documentation/html/ /web/nanobrain 2>&1 - echo $HOSTNAME - ps aux | head +name: Copy Documentation to webserver + +on: + push: + branches: + - '**' + pull_request: + branches: + - '**' + +jobs: + copy-documentation: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Pause for debug + run: | + echo "Debug container: sleeping for 300s" + sleep 300 + - name: Install Dependencies + run: | + apt-get update + apt-get install -y rsync # Install required packages + + - name: Check volume + run: | + mount | grep /web/nanobrain || true + ls -la /web || true + cat /proc/self/mounts | grep nanobrain || true + ls -la /web/nanobrain; id; stat -c "%u:%g %n" /volume1/web/passer_life/documentation/nanobrain + + - name: Ensure destination exists + run: | + mkdir -p /web/nanobrain + chown -R $USER:$USER /web/nanobrain + + + - name: Copy html folder + run: | + find / -path '*/web/nanobrain/*' + rsync -av --delete Documentation/html/ /web/nanobrain 2>&1 + echo $HOSTNAME + ps aux | head