Skip to content

Feature/fix tag bug (#175) #530

Feature/fix tag bug (#175)

Feature/fix tag bug (#175) #530

Workflow file for this run

name: deploy documentation
on:
push:
branches-ignore:
- main
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.PRIVATE_TOKEN }}
submodules: true
- name: setup jdk 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21'
cache: 'gradle'
- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: 6
- name: add permission to gradlew
run: chmod +x ./gradlew
shell: bash
- name: generate docs
run: ./gradlew asciidoctor
shell: bash
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
publish-dir: './build/docs/asciidoc'
production-branch: dev
github-token: ${{ secrets.PRIVATE_TOKEN }}
deploy-message: 'Deploy from GitHub Actions'
enable-pull-request-comment: true
enable-commit-comment: false
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1