Skip to content

Commit b835148

Browse files
committed
Create asciidoctor-ghpages.yml
Uses the Asciidoctor GhPages Action to automatically build the README.adoc (and any other adoc file) to HTML, pushing to the gh-pages branch to enable GitHub Pages for the project.
1 parent a49d320 commit b835148

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: asciidoctor-ghpages
2+
3+
# Controls when the action will run. Triggers the workflow on push or pull request
4+
# events but only for the master branch
5+
on:
6+
push:
7+
branches: [ master ]
8+
pull_request:
9+
branches: [ master ]
10+
11+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+
jobs:
13+
# This workflow contains a single job called "build"
14+
build:
15+
# The type of runner that the job will run on
16+
runs-on: ubuntu-latest
17+
18+
# Steps represent a sequence of tasks that will be executed as part of the job
19+
steps:
20+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21+
- uses: actions/checkout@v2
22+
23+
- name: asciidoctor-ghpages
24+
uses: manoelcampos/asciidoctor-ghpages-action@v1.1.0
25+
with:
26+
asciidoctor_params: --attribute=nofooter

0 commit comments

Comments
 (0)