Skip to content

Commit

Permalink
Merge branch 'master' into giftcarddocsOct2023
Browse files Browse the repository at this point in the history
  • Loading branch information
Milen Dyankov authored Oct 11, 2023
2 parents 02cb0f1 + d49a994 commit ed14d3f
Show file tree
Hide file tree
Showing 7 changed files with 3,007 additions and 9 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,42 @@ name: Trigger documentation build

on:
push:
branches:
- 'master'
paths:
- 'docs/**'
pull_request:
branches:
- 'master'
paths:
- 'docs/**'
- '.github/workflows/docs.yml'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Notify AxonIQ Library
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install vale
run: |
wget https://github.com/errata-ai/vale/releases/download/v2.23.0/vale_2.23.0_Linux_64-bit.tar.gz
sudo tar -xvzf vale_2.23.0_Linux_64-bit.tar.gz -C /usr/local/bin vale
- name: Generate Site
run: |
cd docs/_playbook/
npm install
export GIT_CREDENTIALS='https://axoniq-devops:${{ secrets.LIBRARY_DEVBOT_TOKEN }}@github.com'
npx antora playbook.yaml
- name: Notify AxonIQ Library (if a push to a tracked branch)
if: ${{ github.event_name == 'push'}}
uses: actions/github-script@v6
with:
github-token: ${{ secrets.LIBRARY_DEVBOT_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ dist/
nbdist/
.nb-gradle/
*.jar
docs/_playbook/vale
.DS_Store
.java-version
4 changes: 4 additions & 0 deletions docs/_playbook/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build
node_modules
.vscode
vale
8 changes: 8 additions & 0 deletions docs/_playbook/.vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
StylesPath = vale

MinAlertLevel = suggestion

Packages = http://github.com/AxonIQ/axoniq-vale-package/releases/latest/download/axoniq-vale-package.zip

[*.{adoc,html}]
BasedOnStyles = AxonIQ
Loading

0 comments on commit ed14d3f

Please sign in to comment.