From ad014d9eb8ff1c9391fee7b3ba0d98ccf0ecf2c4 Mon Sep 17 00:00:00 2001 From: Marino von Wattenwyl Date: Mon, 27 May 2024 16:30:17 +0200 Subject: [PATCH] [CD] Update documentation publishing workflow --- .github/workflows/build-docs.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index e91f2c55..88a49dea 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -28,5 +28,8 @@ jobs: run: doxygen - name: Upload documentation - working-directory: ${{ github.workspace }}/docs/html - run: tar -czf - * | sshpass -p "${{ secrets.EMSCRIPTEN_DEPLOY_PASSWORD }}" ssh -o StrictHostKeyChecking=no github@pallas.ti.bfh.ch "rm -rf docs && mkdir docs && cd docs && tar xzvf -" + working-directory: ${{ github.workspace }}/docs + run: | + sshpass -p "${{ secrets.EMSCRIPTEN_DEPLOY_PASSWORD }}" sftp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "${{ secrets.EMSCRIPTEN_DEPLOY_REMOTE }}" << EOF + put -r html public/www/docs + EOF