Update .gitea/workflows/copy_documentation.yml
Some checks failed
Copy Documentation to webserver / copy-documentation (push) Failing after 5m20s
Some checks failed
Copy Documentation to webserver / copy-documentation (push) Failing after 5m20s
This commit is contained in:
parent
f7b7995585
commit
d6471ad90b
@ -1,42 +1,46 @@
|
|||||||
name: Copy Documentation to webserver
|
name: Copy Documentation to webserver
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
copy-documentation:
|
copy-documentation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Pause for debug
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
echo "Debug container: sleeping for 300s"
|
||||||
apt-get install -y rsync # Install required packages
|
sleep 300
|
||||||
|
- name: Install Dependencies
|
||||||
- name: Check volume
|
run: |
|
||||||
run: |
|
apt-get update
|
||||||
mount | grep /web/nanobrain || true
|
apt-get install -y rsync # Install required packages
|
||||||
ls -la /web || true
|
|
||||||
cat /proc/self/mounts | grep nanobrain || true
|
- name: Check volume
|
||||||
ls -la /web/nanobrain; id; stat -c "%u:%g %n" /volume1/web/passer_life/documentation/nanobrain
|
run: |
|
||||||
|
mount | grep /web/nanobrain || true
|
||||||
- name: Ensure destination exists
|
ls -la /web || true
|
||||||
run: |
|
cat /proc/self/mounts | grep nanobrain || true
|
||||||
mkdir -p /web/nanobrain
|
ls -la /web/nanobrain; id; stat -c "%u:%g %n" /volume1/web/passer_life/documentation/nanobrain
|
||||||
chown -R $USER:$USER /web/nanobrain
|
|
||||||
|
- name: Ensure destination exists
|
||||||
|
run: |
|
||||||
- name: Copy html folder
|
mkdir -p /web/nanobrain
|
||||||
run: |
|
chown -R $USER:$USER /web/nanobrain
|
||||||
find / -path '*/web/nanobrain/*'
|
|
||||||
rsync -av --delete Documentation/html/ /web/nanobrain 2>&1
|
|
||||||
echo $HOSTNAME
|
- name: Copy html folder
|
||||||
ps aux | head
|
run: |
|
||||||
|
find / -path '*/web/nanobrain/*'
|
||||||
|
rsync -av --delete Documentation/html/ /web/nanobrain 2>&1
|
||||||
|
echo $HOSTNAME
|
||||||
|
ps aux | head
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user