an attempt to actually deploy docs
This commit is contained in:
parent
e3759f1dbe
commit
bcfc9c0dc2
@ -1,6 +1,9 @@
|
|||||||
name: Main LMDBAL workfow
|
name: Main LMDBAL workfow
|
||||||
run-name: ${{ gitea.actor }} is running LMDBAL main workflow
|
run-name: ${{ gitea.actor }} is running LMDBAL main workflow
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Archlinux:
|
Archlinux:
|
||||||
@ -19,5 +22,25 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
working-directory: ./build/test
|
working-directory: ./build/test
|
||||||
run: ./runUnitTests
|
run: ./runUnitTests
|
||||||
- name: Status
|
- name: Compres Docs
|
||||||
run: echo "${{ job.status }}"
|
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
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.DOMAIN_ROOT }}
|
||||||
|
username: ${{ secrets.DEPLOY_USER_NAME }}
|
||||||
|
key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
|
||||||
|
source: "./build/doc/doc.tar.gz"
|
||||||
|
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 }}
|
||||||
|
tar -xvzf doc.tar.gz
|
||||||
|
rm doc.tar.gz
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
# Maintainer: Yury Gubich <blue@macaw.me>
|
# Maintainer: Yury Gubich <blue@macaw.me>
|
||||||
pkgname=lmdbal
|
pkgname=lmdbal
|
||||||
pkgver=0.3.1
|
pkgver=0.5.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="LMDB Abstraction Layer, qt5 version"
|
pkgdesc="LMDB Abstraction Layer, qt5 version"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="https://git.macaw.me/blue/lmdbal"
|
url="https://git.macaw.me/blue/lmdbal"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
depends=( 'lmdb' 'qt5-base')
|
depends=( 'lmdb' 'qt5-base')
|
||||||
makedepends=('cmake>=3.16')
|
makedepends=('cmake>=3.16' 'gcc')
|
||||||
optdepends=()
|
optdepends=()
|
||||||
|
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://git.macaw.me/blue/lmdbal/archive/$pkgver.tar.gz")
|
source=("$pkgname-$pkgver.tar.gz::https://git.macaw.me/blue/lmdbal/archive/$pkgver.tar.gz")
|
||||||
|
Loading…
Reference in New Issue
Block a user