File tree Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Expand file tree Collapse file tree 2 files changed +56
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : Publish documentation
4+
5+ on :
6+ push :
7+ branches :
8+ - ' main'
9+
10+ workflow_dispatch :
11+
12+ jobs :
13+ build-ansible-docs :
14+ name : Build Ansible Docs
15+ uses : cloudera-labs/github-actions/.github/workflows/construct-ansible-docs.yml@v1
16+ with :
17+ pages-upload : true
18+ directory-upload : true
19+ antsibull-log-upload : true
20+
21+ publish-ansible-docs :
22+ name : Publish Ansible Docs
23+ needs : build-ansible-docs
24+ runs-on : ubuntu-latest
25+ permissions :
26+ pages : write
27+ id-token : write
28+ environment :
29+ name : github-pages
30+ url : ${{ steps.deployment.outputs.page_url }}
31+ steps :
32+ - name : Deploy Github Pages
33+ id : deployment
34+ uses : actions/deploy-pages@v2
35+ with :
36+ artifact_name : github-pages
Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : Validate Pull Request documentation
4+
5+ on :
6+ pull_request :
7+ branches :
8+ - ' release/**'
9+ - ' devel'
10+
11+ workflow_dispatch :
12+
13+ jobs :
14+ validate-docs :
15+ name : Validate Ansible Docs
16+ uses : cloudera-labs/github-actions/.github/workflows/lint-ansible-docs.yml@v1
17+ with :
18+ antsibull-log-upload : true
19+ collection-namespace : cloudera
20+ collection-name : exe
You can’t perform that action at this time.
0 commit comments