Skip to content

Update AsciiDoc file name in GitHub Pages workflow #4

Update AsciiDoc file name in GitHub Pages workflow

Update AsciiDoc file name in GitHub Pages workflow #4

Workflow file for this run

name: Publish AsciiDoc to GitHub Pages
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- name: Install Asciidoctor
run: gem install asciidoctor
- name: Convert AsciiDoc to HTML
run: asciidoctor -b html5 -D output book.asciidoc
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output