Publish docs zip #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |