Removed /home/ path #14
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: asciidoctor-pages-generator | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ master, main ] | |
pull_request: | |
branches: [ master, main ] | |
# This can be used to allow manually triggering nightlies from the web interface | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v4 | |
- name: urls-checker | |
uses: urlstechie/urlchecker-action@master | |
with: | |
# A subfolder or path to navigate to in the present or cloned repository | |
subfolder: docs | |
# A comma-separated list of file types to cover in the URL checks | |
file_types: .adoc | |
# Choose whether to include file with no URLs in the prints. | |
print_all: false | |
# The timeout seconds to provide to requests, defaults to 5 seconds | |
timeout: 5 | |
# How many times to retry a failed request (each is logged, defaults to 1) | |
retry_count: 3 | |
# A comma separated links to exclude during URL checks | |
exclude_urls: | |
# A comma separated patterns to exclude during URL checks | |
exclude_patterns: | |
# choose if the force pass or not | |
force_pass : false | |
# 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: | |
# asciidoctor_params: --attribute=nofooter | |
# adoc_file_ext: .ascii # default is .adoc | |
source_dir: docs/ # default is . | |
slides_build: false | |
pdf_build: false | |
# pre_build: | |
# post_build: |