From af07ca279527620fbdecffec3fbabe3fc9b4e5a5 Mon Sep 17 00:00:00 2001 From: blue Date: Sun, 20 Aug 2023 12:04:21 -0300 Subject: [PATCH] an attempt to actually deploy docs, try 3 --- .gitea/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 3cb5054..12e0713 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -27,11 +27,12 @@ jobs: run: tar -cvzf doc.tar.gz man xml html - name: Copy docs via scp uses: appleboy/scp-action@v0.1.4 + working-directory: ./build/doc with: host: ${{ secrets.DOMAIN_ROOT }} username: ${{ secrets.DEPLOY_USER_NAME }} key: ${{ secrets.DEPLOY_PRIVATE_KEY }} - source: "./build/doc/doc.tar.gz" + source: doc.tar.gz target: ${{ secrets.LMDBAL_DOCS_DEPLOY_PATH }} - name: Unpack the archive uses: appleboy/ssh-action@v1.0.0 @@ -42,5 +43,6 @@ jobs: script_stop: true script: | cd ${{ secrets.LMDBAL_DOCS_DEPLOY_PATH }} + pwd tar -xvzf doc.tar.gz rm doc.tar.gz