Skip to content

Fix syntax and varaible subs in workflow file. #2

Fix syntax and varaible subs in workflow file.

Fix syntax and varaible subs in workflow file. #2

Workflow file for this run

name: publish-docs
on:
push:
tags:
- v*
pull_request:
branches:
- main
- release/v*
jobs:
build-docs:
permissions:
contents: read
name: Build Docs
uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-push.yml@main
with:
init-lenient: false
init-fail-on-error: true
publish-docs:
if: github.repository == 'crichez/crichez.secureboot'
name: Publish Docs
permissions:
contents: write
pages: write
id-token: write
needs:
- build-docs
uses: ansible-community/github-docs-build/.github/workflows/_shared-docs-build-publish-gh-pages.yml@main
with:
artifact-name: ${{ needs.build-docs.outputs.artifact-name }}
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}