Skip to content

Commit

Permalink
Update docs and release script to create docs.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddlet2666 committed Feb 21, 2025
1 parent 8d9e80a commit 171f8a6
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,12 @@ jobs:

- name: Build Docs
shell: bash
run: make docs
run: |
make docs
DIR=`pwd`
cd build/_output/docs
zip -r ../docs.zip *
cd $DIR
- name: Build Binaries
shell: bash
Expand Down Expand Up @@ -144,6 +149,16 @@ jobs:
asset_name: cohctl-${{ steps.version.outputs.version }}-windows-arm.exe
asset_content_type: application/x-dosexec

- name: Upload docs.zip
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/_output/docs.zip
asset_name: docs.zip
asset_content_type: application/zip

- uses: actions/upload-artifact@v4
if: failure()
with:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ build/
shared/
release/
test/test_utils/certs/

utils/linkcheck/go.sum
14 changes: 14 additions & 0 deletions docs/about/overview.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ Installing the Coherence CLI for your platform.
Quick start guide to getting started with the Coherence CLI.
--
====
== Configuration and Commands
[PILLARS]
====
[CARD]
.Configuration
[icon=fa-cogs,link=../config/overview.adoc]
Expand All @@ -57,6 +64,13 @@ Coherence CLI Command Reference.
Securing CLI access.
--
====
== Troubleshooting and Examples
[PILLARS]
====
[CARD]
.Troubleshooting
[icon=fa-question-circle,link=../troubleshooting/trouble-shooting.adoc]
Expand Down

0 comments on commit 171f8a6

Please # to comment.