mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Add publishing of docs
This commit is contained in:
@ -98,6 +98,31 @@ commands:
|
|||||||
- ~/.m2
|
- ~/.m2
|
||||||
key: v1-dependencies-{{ checksum "pom.xml" }}
|
key: v1-dependencies-{{ checksum "pom.xml" }}
|
||||||
|
|
||||||
|
install_asciidoctor:
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Install asciidoctor
|
||||||
|
command: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt install -y asciidoctor
|
||||||
|
|
||||||
|
run_asciidoctor:
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: Run asciidoctor
|
||||||
|
command: |
|
||||||
|
cd docs
|
||||||
|
asciidoctor -a docinfo=shared index.adoc
|
||||||
|
|
||||||
|
upload_docs_site:
|
||||||
|
steps:
|
||||||
|
- run:
|
||||||
|
name: scp html to justinsgotskinnylegs.com
|
||||||
|
command: |
|
||||||
|
cd docs
|
||||||
|
scp index.html dkelkhoff@45.79.44.221:/mnt/first-volume/dkelkhoff/nginx/html/justinsgotskinnylegs.com/qqq-docs.html
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
mvn_test:
|
mvn_test:
|
||||||
executor: localstack/default
|
executor: localstack/default
|
||||||
@ -114,6 +139,13 @@ jobs:
|
|||||||
- mvn_verify
|
- mvn_verify
|
||||||
- mvn_jar_deploy
|
- mvn_jar_deploy
|
||||||
|
|
||||||
|
publish_asciidoc:
|
||||||
|
executor: localstack/default
|
||||||
|
steps:
|
||||||
|
- install_asciidoctor
|
||||||
|
- run_asciidoctor
|
||||||
|
- upload_docs_site
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
test_only:
|
test_only:
|
||||||
jobs:
|
jobs:
|
||||||
@ -135,3 +167,9 @@ workflows:
|
|||||||
tags:
|
tags:
|
||||||
only: /(version|snapshot)-.*/
|
only: /(version|snapshot)-.*/
|
||||||
|
|
||||||
|
publish-docs:
|
||||||
|
jobs:
|
||||||
|
- publish_asciidoc:
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
only: /(dev|CE-1072-update-how-we-display-imported)/
|
||||||
|
Reference in New Issue
Block a user