Skip to content

Publish docs

Publish docs #237

Workflow file for this run

name: Publish docs
permissions:
contents: write
pages: write
id-token: write
on:
pull_request:
branches:
- main
paths:
- 'docs/**'
- .github/workflows/docs.yml
- _config.yml
- Gemfile*
- charts/**/README.md
- charts/**/docs/**.md
workflow_run:
workflows: [Release Charts]
types: [completed]
jobs:
publish:
uses: Alfresco/jekyll-build-tools/.github/workflows/jekyll-publish.yml@5ee00079dbc774857cafa61054385d98a6f52374
if: github.event_name == 'pull_request' || github.event.workflow_run.conclusion == 'success'
with:
working-directory: .
publish: ${{ github.event_name == 'workflow_run' && github.event.workflow_run.head_branch == 'main' }}
publish-branch: gh-pages
validate-html: true