diff --git a/.gitea/workflows/copy_documentation.yml b/.gitea/workflows/copy_documentation.yml index a3ca925..d0b6f59 100644 --- a/.gitea/workflows/copy_documentation.yml +++ b/.gitea/workflows/copy_documentation.yml @@ -1,31 +1,31 @@ -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: | - sudo mkdir -p /web/nanobrain - sudo chown -R $USER:$USER /web/nanobrain - - - name: Copy html folder - run: | - sudo rsync -a --delete Documentation/html/ /web/nanobrain +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: | + sudo mkdir -p /web/nanobrain + sudo chown -R $USER:$USER /web/nanobrain + + - name: Copy html folder + run: | + rsync -a --delete Documentation/html/ /web/nanobrain