commit cd6d043b8217d8247e75cb2a1d0510d147b7948b parent 9a9241845fe3b88893266b432841a7dab8b356c0 Author: Zane Schaffer <101823296+znschaffer@users.noreply.github.com> Date: Fri, 17 Nov 2023 16:05:31 -0800 Create main.yml Diffstat:
| A | .github/workflows/main.yml | | | 26 | ++++++++++++++++++++++++++ |
1 file changed, 26 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: build adocs + +on: + push: + branches: + - main +jobs: + adoc_build: + runs-on: ubuntu-latest + name: asciidoctor -a nofooter -a imagesdir='./img' -a stylesheet='adoc-riak.css' -D docs ./src/*.adoc + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Get build container + id: adocbuild + uses: tonynv/asciidoctor-action@master + with: + program: "asciidoctor -a nofooter -a imagesdir='./img' -a stylesheet='adoc-riak.css' -D docs ./src/*.adoc" + - name: Print execution time + run: echo "Time ${{ steps.adocbuild.outputs.time }}" + - name: Deploy docs to ghpages + uses: peaceiris/actions-gh-pages@v3 + with: + deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} + publish_branch: gh-pages + publish_dir: ./