NanoBrain-unitypackage/.gitea/workflows/copy_documentation.yml
Pascal Serrarens 348fee3cf7
All checks were successful
Copy Documentation to webserver / copy-documentation (push) Successful in 21s
Update .gitea/workflows/copy_documentation.yml
2026-05-07 14:27:21 +02:00

35 lines
741 B
YAML

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: Ensure destination exists
run: |
mkdir -p /web/nanobrain
chown -R $USER:$USER /web/nanobrain
- name: Copy html folder
run: |
rsync -av --delete Documentation/html/ /web/nanobrain 2>&1
echo $HOSTNAME
ps aux | head
find / -path '*/web/nanobrain/*'