From f322b14ac385ec38b015b80e5ebf08e933b3f510 Mon Sep 17 00:00:00 2001 From: Thomas-Otavio Peulen Date: Sun, 4 Feb 2024 19:35:37 +0100 Subject: [PATCH] Upload documentation --- .github/workflows/build-docs.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 350f017..3ca1da1 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -14,7 +14,10 @@ jobs: run: shell: bash -el {0} steps: + - name: Checkout Repository - uses: actions/checkout@v4 + + - name: Set up Conda - uses: conda-incubator/setup-miniconda@v3 with: activate-environment: doc @@ -27,4 +30,13 @@ jobs: conda info conda list cd doc - make \ No newline at end of file + make + + - name: Upload Documentation + - uses: bxb100/action-upload-webdav@v1 + with: + webdav_address: ${{secrets.WEBDAV_ADDRESS}} + webdav_username: ${{secrets.WEBDAV_USERNAME}} + webdav_password: ${{secrets.WEBDAV_PASSWORD}} + webdav_upload_path: "/www/docs.peulen.xyz/project/bff/master" + files: "./doc/_build/html/stable/**" \ No newline at end of file