tools: modernize nfd-status-http-server and improve error handling #58
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: Docs | |
on: | |
push: | |
workflow_dispatch: | |
inputs: | |
skip-deploy: | |
description: 'Skip deployment?' | |
required: true | |
type: boolean | |
permissions: {} | |
jobs: | |
html: | |
uses: named-data/actions/.github/workflows/docs-html.yml@v1 | |
with: | |
submodules: true | |
# Deploy only the master branch and release tags | |
deploy: ${{ !inputs.skip-deploy && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/NFD-')) }} | |
secrets: inherit | |
man: | |
uses: named-data/actions/.github/workflows/docs-man.yml@v1 | |
with: | |
submodules: true |