blob: 12905b1237b8a2e30baa76a55be7ab98e5c0526b [file] [log] [blame]
Davide Pesavento30ed6282021-07-25 20:05:06 -04001name: Docs
2on:
3 push:
Davide Pesavento30ed6282021-07-25 20:05:06 -04004 workflow_dispatch:
Davide Pesaventoa90b2cf2023-02-06 00:38:38 -05005 inputs:
6 skip-deploy:
7 description: 'Skip deployment?'
8 required: true
9 type: boolean
Davide Pesavento30ed6282021-07-25 20:05:06 -040010
Davide Pesaventoa90b2cf2023-02-06 00:38:38 -050011permissions: {}
Davide Pesavento01cea502021-07-31 19:25:42 -040012
Davide Pesavento30ed6282021-07-25 20:05:06 -040013jobs:
Davide Pesaventoa90b2cf2023-02-06 00:38:38 -050014 html:
15 uses: named-data/actions/.github/workflows/docs-html.yml@v1
16 with:
17 # Deploy only the master branch and release tags
18 deploy: ${{ !inputs.skip-deploy && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/ndn-cxx-')) }}
19 secrets: inherit
20 man:
21 uses: named-data/actions/.github/workflows/docs-man.yml@v1