@@ -12,26 +12,14 @@ jobs:
1212 docs :
1313 name : Build Documentation
1414 runs-on : ubuntu-latest
15- # defaults:
16- # run:
17- # working-directory: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
1815
1916 steps :
20- # Just a note here: The Ansible stuff is apparently doing realpath
21- # checks, so trying to simlink stuff and then run Ansible commands
22- # such as ansible-test in the symlink directory fails. Thus we need
23- # to have the real path contain ansible_collections/paloaltonetworks/panos.
2417 - name : Checkout
2518 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
26- # with:
27- # path: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
2819
2920 - name : discover Python version
3021 id : pyversion
3122 uses : ./.github/actions/discover_python_version
32- # uses: ./ansible_collections/paloaltonetworks/panos/.github/actions/discover_python_version
33- # with:
34- # working-directory: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
3523
3624 - name : Setup Python
3725 uses : actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa # v4
4634 - name : Add ansible-core
4735 run : poetry add ansible-core^2.16
4836
49- # - name: Add antsibull-docs
50- # run: poetry add antsibull-docs
51-
5237 - name : Install dependencies
5338 run : poetry install
5439
6651 rm -rf docs/html/.doctrees
6752 shell : bash
6853
69- # # This is here for right now because the action to deploy seems to assume
70- # # (and not have a configuration option to) mirror the actions/checkout@v4
71- # # the with.path spec.
72- # - name: Move the repo to where the deploy action is looking for it
73- # run: |
74- # cd ../../../..
75- # mv pan-os-ansible the_repo
76- # mv the_repo/ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }} pan-os-ansible
77- # mkdir -p pan-os-ansible/ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
78-
7954 - name : Deploy to GitHub Pages
8055 uses : JamesIves/github-pages-deploy-action@a1ea191d508feb8485aceba848389d49f80ca2dc # v4.4.3
8156 with :
0 commit comments