Skip to content

Commit f9fb0e4

Browse files
committed
docs workflow comments
1 parent f487ba5 commit f9fb0e4

2 files changed

Lines changed: 4 additions & 25 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ jobs:
9797
run:
9898
working-directory: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}
9999
steps:
100+
# Just a note here: The Ansible stuff is apparently doing realpath
101+
# checks, so trying to simlink stuff and then run Ansible commands
102+
# such as ansible-test in the symlink directory fails. Thus we need
103+
# to have the real path contain ansible_collections/paloaltonetworks/panos.
100104
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
101105
with:
102106
path: ./ansible_collections/${{ env.NAMESPACE }}/${{ env.COLLECTION_NAME }}

.github/workflows/docs.yml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -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
@@ -46,9 +34,6 @@ jobs:
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

@@ -66,16 +51,6 @@ jobs:
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

Comments
 (0)