Trying to get the workflow running...10
All checks were successful
Copy Documentation to webserver / copy-documentation (push) Successful in 41s

This commit is contained in:
Pascal Serrarens 2026-05-07 14:04:34 +02:00
parent 2b0db4fa02
commit b87f40f43e

View File

@ -23,17 +23,9 @@ jobs:
- name: Ensure destination exists
run: |
sudo mkdir -p /volume1/web/passer_life/documentation/nanobrain
sudo chown -R $USER:$USER /volume1/web/passer_life/documentation/nanobrain
sudo mkdir -p /web/nanobrain
sudo chown -R $USER:$USER /web/nanobrain
- name: Copy html folder
run: |
sudo rsync -a --delete Documentation/html/ /volume1/web/passer_life/documentation/nanobrain
- name: Debug rsync
run: |
set -x command -v rsync || echo "rsync missing" rsync -av --delete Documentation/html/ /volume1/web/passer_life/documentation/nanobrain echo "rsync exit:$?"
- name: List paths
run: |
pwd ls -la Documentation || true ls -la Documentation/html || true ls -la /volume1/web/passer_life/documentation || true ls -la /volume1/web/passer_life/documentation/nanobrain || true
sudo rsync -a --delete Documentation/html/ /web/nanobrain