Merge pull request #1410 from SamBarker/examples-refresh #79
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: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.KROXYLICIOUS_GITHUB_READWRITE_TOKEN }} | |
- name: asciidoctor-ghpages | |
uses: manoelcampos/asciidoctor-ghpages-action@v2 | |
with: | |
source_dir: docs/ | |
asciidoctor_params: "--require asciidoctor-diagram --attribute=sectlinks --attribute=sectanchors" | |
post_build: 'find . -name "*.svg" -exec git add -f {} \;' |