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

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

View File

@ -11,20 +11,22 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Make a build directory
run: mkdir build
- name: Configure
working-directory: ./build
run: cmake .. -D BUILD_TESTS=True -D BUILD_DOC=True -D BUILD_DOXYGEN_AWESOME=True -D QT_VERSION_MAJOR=5
- name: Build
working-directory: ./build
run: cmake --build .
- name: Run tests
working-directory: ./build/test
run: ./runUnitTests
- name: Compres Docs
working-directory: ./build/doc
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
@ -32,17 +34,5 @@ jobs:
host: ${{ secrets.DOMAIN_ROOT }}
username: ${{ secrets.DEPLOY_USER_NAME }}
key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
source: doc.tar.gz
source: "html,xml,man"
target: ${{ secrets.LMDBAL_DOCS_DEPLOY_PATH }}
- name: Unpack the archive
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.DOMAIN_ROOT }}
username: ${{ secrets.DEPLOY_USER_NAME }}
key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
script_stop: true
script: |
cd ${{ secrets.LMDBAL_DOCS_DEPLOY_PATH }}
pwd
tar -xvzf doc.tar.gz
rm doc.tar.gz