File tree Expand file tree Collapse file tree 1 file changed +5
-48
lines changed
Expand file tree Collapse file tree 1 file changed +5
-48
lines changed Original file line number Diff line number Diff line change 1515
1616jobs :
1717 docs :
18- runs-on : ubuntu-latest
19- if : github.repository == 'ansible-middleware/common'
20- permissions :
21- actions : write
22- checks : write
23- contents : write
24- deployments : write
25- packages : write
26- pages : write
27- steps :
28- - name : Check out code
29- uses : actions/checkout@v3
30- with :
31- path : ansible_collections/middleware_automation/common
32- fetch-depth : 0
33-
34- - name : Set up Python
35- uses : actions/setup-python@v4
36- with :
37- python-version : 3.9
38- cache : ' pip'
39-
40- - name : Install doc dependencies
41- run : |
42- python -m pip install --upgrade pip
43- pip install -r ansible_collections/middleware_automation/common/docs/requirements.txt
44- if [ -f ansible_collections/middleware_automation/common/requirements.txt ]; then
45- pip install -r ansible_collections/middleware_automation/common/requirements.txt
46- fi
47- sudo apt install -y sed hub
48-
49- - name : Create default collection path
50- run : |
51- mkdir -p /home/runner/.ansible/
52- ln -s /home/runner/work/common/common /home/runner/.ansible/collections
53-
54- - name : Create changelog and documentation
55- uses : ansible-middleware/collection-docs-action@main
56- with :
57- collection_fqcn : middleware_automation.common
58- collection_repo : ansible-middleware/common
59- dependencies : false
60- commit_changelog : false
61- commit_ghpages : true
62- changelog_release : false
63- generate_docs : true
64- path : ansible_collections/middleware_automation/common
65- token : ${{ secrets.GITHUB_TOKEN }}
18+ uses : ansible-middleware/github-actions/.github/workflows/docs.yml@main
19+ secrets : inherit
20+ with :
21+ fqcn : ' middleware_automation/common'
22+ collection_fqcn : ' middleware_automation.common'
You can’t perform that action at this time.
0 commit comments