Migrate to Diktat 2.0 #51
Workflow file for this run
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: GitHub Pages Publish | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Publish GitHub Pages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Includes the AsciiDoctor GitHub Pages Action to convert adoc files to | |
# html and publish to gh-pages branch. | |
- name: asciidoctor-ghpages | |
uses: manoelcampos/asciidoctor-ghpages-action@v2 | |
with: | |
pdf_build: true | |
# asciidoctor_params: --attribute=nofooter | |
asciidoctor_params: --attribute=allow-uri-read | |
# adoc_file_ext: .ascii # default is .adoc | |
# source_dir: docs/ # default is . | |
# slides_build: true | |
pre_build: | | |
git rm -rf -- .idea/ bin/ .editorconfig .gitignore .gitattributes CODE_OF_CONDUCT.md LICENSE *.yml | |
# post_build: |