Refresh #2
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: Deploy docs zip | |
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: Publish to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: target/docs/advanced-vertx-guide | |
CLEAN: true |