an attempt to actually deploy docs, try 3
Some checks failed
Main LMDBAL workfow / Archlinux (push) Failing after 33s

This commit is contained in:
Blue 2023-08-20 12:04:21 -03:00
parent a9be6be54f
commit af07ca2795
Signed by: blue
GPG Key ID: 9B203B252A63EE38

View File

@ -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