Added tests in doc gen script
Some checks failed
Copy Documentation to webserver / copy-documentation (push) Failing after 21s
Some checks failed
Copy Documentation to webserver / copy-documentation (push) Failing after 21s
This commit is contained in:
parent
0d17b4becd
commit
f7b7995585
@ -21,14 +21,22 @@ jobs:
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y rsync # Install required packages
|
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
|
- name: Ensure destination exists
|
||||||
run: |
|
run: |
|
||||||
mkdir -p /web/nanobrain
|
mkdir -p /web/nanobrain
|
||||||
chown -R $USER:$USER /web/nanobrain
|
chown -R $USER:$USER /web/nanobrain
|
||||||
|
|
||||||
|
|
||||||
- name: Copy html folder
|
- name: Copy html folder
|
||||||
run: |
|
run: |
|
||||||
|
find / -path '*/web/nanobrain/*'
|
||||||
rsync -av --delete Documentation/html/ /web/nanobrain 2>&1
|
rsync -av --delete Documentation/html/ /web/nanobrain 2>&1
|
||||||
echo $HOSTNAME
|
echo $HOSTNAME
|
||||||
ps aux | head
|
ps aux | head
|
||||||
find / -path '*/web/nanobrain/*'
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user