From 77777ecf0973f6efbd6025b3752fe509f575ad9c Mon Sep 17 00:00:00 2001 From: RB <7775707+nitrocode@users.noreply.github.com> Date: Mon, 28 Oct 2024 07:39:49 -0500 Subject: [PATCH 1/3] ci: add homebrew step --- .github/workflows/release.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c74e87..625f455 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -58,3 +58,16 @@ jobs: if: ${{ steps.release.outputs.release_created }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + homebrew: + name: "Bump Homebrew formula" + runs-on: ubuntu-latest + needs: release + steps: + - uses: mislav/bump-homebrew-formula-action@b3327118b2153c82da63fd9cbf58942146ee99f0 # v3 + with: + # A PR will be sent to github.com/Homebrew/homebrew-core to update this formula + formula-name: atmos + formula-path: Formula/a/action-docs.rb + env: + COMMITTER_TOKEN: ${{ secrets.GITHUB_TOKEN }} From abcb4dda05ac2ae745c6a820eeff10112af62ff2 Mon Sep 17 00:00:00 2001 From: RB <7775707+nitrocode@users.noreply.github.com> Date: Mon, 28 Oct 2024 07:41:43 -0500 Subject: [PATCH 2/3] docs: add brew install --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b7b3fc8..00f0b6f 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,23 @@ Optionally you can also add the following section to generate a usage guide, rep ``` -### Generate docs via CLI +### Install + +#### npm ```bash npm install -g action-docs +``` + +#### brew + +```bash +brew install action-docs +``` + +### Generate docs via CLI + +```bash cd # write docs to console From 4c64767fca1aabbedb70383e5bf5e2279ce0e721 Mon Sep 17 00:00:00 2001 From: RB <7775707+nitrocode@users.noreply.github.com> Date: Wed, 30 Oct 2024 15:21:08 -0500 Subject: [PATCH 3/3] fix: address feedback --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 625f455..87135bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -67,7 +67,7 @@ jobs: - uses: mislav/bump-homebrew-formula-action@b3327118b2153c82da63fd9cbf58942146ee99f0 # v3 with: # A PR will be sent to github.com/Homebrew/homebrew-core to update this formula - formula-name: atmos + formula-name: action-docs formula-path: Formula/a/action-docs.rb env: COMMITTER_TOKEN: ${{ secrets.GITHUB_TOKEN }}