Trying to get the workflow running...10
All checks were successful
Copy Documentation to webserver / copy-documentation (push) Successful in 41s
All checks were successful
Copy Documentation to webserver / copy-documentation (push) Successful in 41s
This commit is contained in:
parent
2b0db4fa02
commit
b87f40f43e
@ -23,17 +23,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Ensure destination exists
|
- name: Ensure destination exists
|
||||||
run: |
|
run: |
|
||||||
sudo mkdir -p /volume1/web/passer_life/documentation/nanobrain
|
sudo mkdir -p /web/nanobrain
|
||||||
sudo chown -R $USER:$USER /volume1/web/passer_life/documentation/nanobrain
|
sudo chown -R $USER:$USER /web/nanobrain
|
||||||
|
|
||||||
- name: Copy html folder
|
- name: Copy html folder
|
||||||
run: |
|
run: |
|
||||||
sudo rsync -a --delete Documentation/html/ /volume1/web/passer_life/documentation/nanobrain
|
sudo rsync -a --delete Documentation/html/ /web/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
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user