an attempt to actually deploy docs, try 3
Some checks failed
Main LMDBAL workfow / Archlinux (push) Failing after 33s
Some checks failed
Main LMDBAL workfow / Archlinux (push) Failing after 33s
This commit is contained in:
parent
a9be6be54f
commit
af07ca2795
@ -27,11 +27,12 @@ jobs:
|
|||||||
run: tar -cvzf doc.tar.gz man xml html
|
run: tar -cvzf doc.tar.gz man xml html
|
||||||
- name: Copy docs via scp
|
- name: Copy docs via scp
|
||||||
uses: appleboy/scp-action@v0.1.4
|
uses: appleboy/scp-action@v0.1.4
|
||||||
|
working-directory: ./build/doc
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.DOMAIN_ROOT }}
|
host: ${{ secrets.DOMAIN_ROOT }}
|
||||||
username: ${{ secrets.DEPLOY_USER_NAME }}
|
username: ${{ secrets.DEPLOY_USER_NAME }}
|
||||||
key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
|
key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
|
||||||
source: "./build/doc/doc.tar.gz"
|
source: doc.tar.gz
|
||||||
target: ${{ secrets.LMDBAL_DOCS_DEPLOY_PATH }}
|
target: ${{ secrets.LMDBAL_DOCS_DEPLOY_PATH }}
|
||||||
- name: Unpack the archive
|
- name: Unpack the archive
|
||||||
uses: appleboy/ssh-action@v1.0.0
|
uses: appleboy/ssh-action@v1.0.0
|
||||||
@ -42,5 +43,6 @@ jobs:
|
|||||||
script_stop: true
|
script_stop: true
|
||||||
script: |
|
script: |
|
||||||
cd ${{ secrets.LMDBAL_DOCS_DEPLOY_PATH }}
|
cd ${{ secrets.LMDBAL_DOCS_DEPLOY_PATH }}
|
||||||
|
pwd
|
||||||
tar -xvzf doc.tar.gz
|
tar -xvzf doc.tar.gz
|
||||||
rm doc.tar.gz
|
rm doc.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user