Skip to content

Publish docs zip

Publish docs zip #3

Workflow file for this run

name: asciidoc
on:
push:
branches:
- master
jobs:
Test:
name: Process docs
strategy:
matrix:
os: [ubuntu-latest]
jdk: [11]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install JDK
uses: actions/setup-java@v2
with:
java-version: 11
distribution: temurin
- name: Render guide
run: mvn compile asciidoctor:process-asciidoc
- name: GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: target/docs/advanced-vertx-guide
CLEAN: true
- name: Deploy docs.zip
if: ${{ endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
run: mvn deploy -s .github/maven-cd-settings.xml -DskipTests -B