Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish docs pr 2.x #2181

Merged
merged 151 commits into from
Jan 8, 2025
Merged
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
c5d4613
Altering workflow in GitHub Actions for building wiki2pages files.
gregharvey Jan 3, 2025
c3a23d5
Merging devel.
gregharvey Jan 3, 2025
8476101
Attempting to set a hosts file for Ansible in CI.
gregharvey Jan 3, 2025
142a368
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
327db08
Trying to force Ansible host.
gregharvey Jan 3, 2025
b5d201a
Trying to force Ansible host.
gregharvey Jan 3, 2025
6d531c9
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
64530b1
Trying with an inventory file instead.
gregharvey Jan 3, 2025
d9067fb
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
a8ba1c4
Running Ansible as the 'ce-dev' user.
gregharvey Jan 3, 2025
4fa8896
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
9d8b47c
Fixing path to playbook.
gregharvey Jan 3, 2025
b2527c6
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
c87bbd0
Disabling host key checking.
gregharvey Jan 3, 2025
1ec568f
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
5bd801e
Disabling host checking in SSH.
gregharvey Jan 3, 2025
5549a10
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
7f08219
Trying to use ce-dev user instead of root.
gregharvey Jan 3, 2025
7466bc3
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
f9e29fc
Fixing path to scripts.
gregharvey Jan 3, 2025
1226ca4
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
c120476
Adding some debug lines to check playbooks.
gregharvey Jan 3, 2025
acafa39
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
caa1b90
Fixing workspace volume mount point.
gregharvey Jan 3, 2025
cf524fd
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
6366701
Trying a whole new /build location.
gregharvey Jan 3, 2025
0eef216
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
15af1c3
Setting permissions on mounted disk.
gregharvey Jan 3, 2025
aca17d1
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
a5f04de
Checking ce-dev dir contents.
gregharvey Jan 3, 2025
7ac35e3
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
6bc2055
Changing mount point to not destroy ce-dev files.
gregharvey Jan 3, 2025
3ce8fd5
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
c562607
Commenting permissions line.
gregharvey Jan 3, 2025
763bcf1
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
9502efe
Fixing playbook paths.
gregharvey Jan 3, 2025
52e2f26
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
88a7b12
Outputting hosts and SSH config for debug.
gregharvey Jan 3, 2025
1b83d48
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
084eaa3
Checking SSH settings.
gregharvey Jan 3, 2025
d069d96
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
53b00d7
Manually creating authorized_keys.
gregharvey Jan 3, 2025
2e7d1ab
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
4e02937
Fixing path to set-current.
gregharvey Jan 3, 2025
d4ac0e9
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
36c0aeb
Refactoring SSH set-up and looking at set-current script.
gregharvey Jan 3, 2025
8506c61
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
5c4d4eb
Trying to fix mount point.
gregharvey Jan 3, 2025
45b58be
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
a16ec18
Updating paths to generated docs.
gregharvey Jan 3, 2025
9794ecb
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
5c83f82
Trying to pass in path to wiki2pages.
gregharvey Jan 3, 2025
bcc9939
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
a077a5f
Removing obsolete debug line.
gregharvey Jan 3, 2025
47fb34e
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
9ce237e
Correcting path to script.
gregharvey Jan 3, 2025
0f7d413
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
06c8b08
Changing path we execute from.
gregharvey Jan 3, 2025
d5f79ee
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 3, 2025
0f8be8b
Adding first pass at docs publish step.
gregharvey Jan 6, 2025
4660e07
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
cdb28c2
Repairing working dir paths.
gregharvey Jan 6, 2025
ef847a8
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
93751a4
Incorrect repo path.
gregharvey Jan 6, 2025
f9e702d
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
d8f3908
Removing most of the debug lines.
gregharvey Jan 6, 2025
e0ba0c6
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
932234e
Catching up devel. (#2163)
gregharvey Jan 6, 2025
8817473
Merge branch '2.x' into publish_docs
gregharvey Jan 6, 2025
4475d2c
Adding more debug to try to find where 1.x is coming from.
gregharvey Jan 6, 2025
15f8dc5
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into p…
gregharvey Jan 6, 2025
c4323bd
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
c160c4a
Merge branch '2.x' of github.com:codeenigma/ce-provision into publish…
gregharvey Jan 6, 2025
ffa9d84
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
106eba2
Moving the hugo script check.
gregharvey Jan 6, 2025
f222906
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
034e9cc
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
6046249
More debug.
gregharvey Jan 6, 2025
fd3bd5c
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
eba6deb
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
45bdf53
Moving the config.toml debug line.
gregharvey Jan 6, 2025
0da09a8
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
3220cdc
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
ab4fb33
Checking the entire disk for 2.x.
gregharvey Jan 6, 2025
a0002e1
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
c771e74
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
2ca4c86
Trying a find instead of a grep.
gregharvey Jan 6, 2025
792b8af
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
31c8114
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
c0c4ecb
Trying to update ce-provision and ce-deploy.
gregharvey Jan 6, 2025
a40c2c9
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
67faf7e
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
1a3a477
Getting more debug info.
gregharvey Jan 6, 2025
93c3408
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
09ff288
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
3d28ca9
Adding --verbose to Ansible.
gregharvey Jan 6, 2025
e6720b4
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
c6790ab
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
552afee
Trying running Hugo directly.
gregharvey Jan 6, 2025
49f205a
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
cdc0a80
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
60c41d5
Changed the Hugo start script.
gregharvey Jan 6, 2025
d4756f7
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
f6d05ac
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
e6fe660
Trying just running 'hugo' in the right directory.
gregharvey Jan 6, 2025
44cfc48
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
15c8108
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
df6648f
Adding ce-deploy back in with option to not run Hugo.
gregharvey Jan 6, 2025
defd36a
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 6, 2025
5a111db
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 6, 2025
d93a1ce
Updating docs to make _Sidebar.md lose the starting slash.
gregharvey Jan 7, 2025
a263192
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 7, 2025
c6a098a
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 7, 2025
c103b43
Publish docs pr devel 2.x (#2165)
gregharvey Jan 7, 2025
eacd10b
Changing sidebar paths didn't fix Hugo.
gregharvey Jan 7, 2025
f472eb8
Merge branch 'devel-2.x' of github.com:codeenigma/ce-provision into p…
gregharvey Jan 7, 2025
8f29992
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 7, 2025
ff0978c
Merge branch '2.x' of github.com:codeenigma/ce-provision into publish…
gregharvey Jan 7, 2025
6927243
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 7, 2025
b7adb17
Merge branch '2.x' into publish_docs
gregharvey Jan 7, 2025
e0537aa
Re-removing opening slash to fix Hugo.
gregharvey Jan 7, 2025
45549ae
Merge branch 'publish_docs' into publish_docs-PR-devel-2.x
gregharvey Jan 7, 2025
7b78e1d
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 7, 2025
5ab3362
Merge remote-tracking branch 'origin/publish_docs-PR-devel-2.x' into …
gregharvey Jan 7, 2025
1a0c962
Fixing Sidebar merge issues.
gregharvey Jan 7, 2025
946442f
Making the publish docs CI work with 1.x and 2.x.
gregharvey Jan 7, 2025
dc19b05
Merge branch '2.x' of github.com:codeenigma/ce-provision into publish…
gregharvey Jan 7, 2025
25b6c40
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 7, 2025
d71d4b7
Merge branch '2.x' into publish_docs
gregharvey Jan 7, 2025
031254b
Only run when PRs are closed.
gregharvey Jan 7, 2025
8b87fe2
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 7, 2025
9bfb93f
Simplifying installer script.
gregharvey Jan 8, 2025
065b109
Separating script to build table of contents for Hugo and enhancing CI.
gregharvey Jan 8, 2025
c6eea38
Merge branch '2.x' of github.com:codeenigma/ce-provision into publish…
gregharvey Jan 8, 2025
af96e69
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 8, 2025
b640e62
Merge branch '2.x' into publish_docs
gregharvey Jan 8, 2025
5846900
Forgot to add and commit changes to docs.
gregharvey Jan 8, 2025
67c196f
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 8, 2025
92dcc50
Adding safe directory for checked out code and changing order.
gregharvey Jan 8, 2025
a54c567
Merge branch '2.x' of github.com:codeenigma/ce-provision into publish…
gregharvey Jan 8, 2025
29b8735
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 8, 2025
d5c64e0
Merging 2.x.
gregharvey Jan 8, 2025
a86b39f
Merge branch '2.x' into publish_docs
gregharvey Jan 8, 2025
cca1ea9
Trying to automate creating a PR instead of a commit.
gregharvey Jan 8, 2025
ec6c867
Merge branch '2.x' of github.com:codeenigma/ce-provision into publish…
gregharvey Jan 8, 2025
03a29b8
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 8, 2025
42a08bf
Removing obsolete third party action in favour of GH CLI.
gregharvey Jan 8, 2025
11c7dee
Merge branch '2.x' of github.com:codeenigma/ce-provision into publish…
gregharvey Jan 8, 2025
7fb5856
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 8, 2025
d3183d3
Install GitHub CLI in container.
gregharvey Jan 8, 2025
03d247b
Merge branch 'publish_docs' into publish_docs-PR-2.x
gregharvey Jan 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/ce-provision-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,15 @@ jobs:
/usr/bin/git commit -m "GitHub Actions - updating markdown docs - ${{ steps.date.outputs.date }}"
/usr/bin/git push

- name: Install GitHub CLI
run: (type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) && sudo mkdir -p -m 755 /etc/apt/keyrings && out=$(mktemp) && wget -nv -O$out https://cli.github.com/packages/githubcli-archive-keyring.gpg && cat $out | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null && sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null && sudo apt update && sudo apt install gh -y

# Create docs pull request
- name: Create a documentation pull request
if: ${{ github.event.pull_request.head.ref != 'docs-${{ github.event.pull_request.base.ref }}' }}
uses: repo-sync/pull-request@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_branch: docs-${{ github.event.pull_request.base.ref }}
destination_branch: ${{ github.event.pull_request.base.ref }}
pr_title: Documentation update.
pr_body: "**Automated pull request** created by GitHub Actions because of a documentation update."
run: gh pr create --base ${{ github.event.pull_request.base.ref }} --head docs-${{ github.event.pull_request.base.ref }} --title "**Automated pull request** created by GitHub Actions because of a documentation update."
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Now build and publish the version of the docs
- name: Install wiki2pages
Expand Down
Loading