blob: 87abd32ef5f57473a2b3936cf4650298170ff3d8 [file] [log] [blame]
Davide Pesavento30ed6282021-07-25 20:05:06 -04001name: Docs
2on:
3 push:
Davide Pesavento01cea502021-07-31 19:25:42 -04004 paths-ignore:
Davide Pesavento83f8d162021-09-26 21:58:36 -04005 - '*.md'
Davide Pesavento01cea502021-07-31 19:25:42 -04006 - '.mailmap'
Davide Pesavento30ed6282021-07-25 20:05:06 -04007 workflow_dispatch:
Davide Pesaventoa90b2cf2023-02-06 00:38:38 -05008 inputs:
9 skip-deploy:
10 description: 'Skip deployment?'
11 required: true
12 type: boolean
Davide Pesavento30ed6282021-07-25 20:05:06 -040013
Davide Pesaventoa90b2cf2023-02-06 00:38:38 -050014permissions: {}
Davide Pesavento01cea502021-07-31 19:25:42 -040015
Davide Pesavento30ed6282021-07-25 20:05:06 -040016jobs:
Davide Pesaventoa90b2cf2023-02-06 00:38:38 -050017 html:
18 uses: named-data/actions/.github/workflows/docs-html.yml@v1
19 with:
20 # Deploy only the master branch and release tags
21 deploy: ${{ !inputs.skip-deploy && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/ndn-cxx-')) }}
22 secrets: inherit
23 man:
24 uses: named-data/actions/.github/workflows/docs-man.yml@v1