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

chore: re-enable CLI command docs auto-update #3001

Merged
merged 9 commits into from
Sep 23, 2024
Prev Previous commit
chore: add publish-docs job to create-cli-release workflow
  • Loading branch information
k80bowman committed Sep 3, 2024
commit 97b33c2ee2c0ddeb725392e401310af2b8ce5928
7 changes: 7 additions & 0 deletions .github/workflows/create-cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,10 @@ jobs:
isStableRelease: ${{ fromJSON(needs.get-version-channel.outputs.isStableRelease) }}
channel: ${{ needs.get-version-channel.outputs.channel }}
secrets: inherit

publish-docs:
needs: [ promote ]
uses: ./.github/workflows/devcenter-doc-update.yml
with:
isStableRelease: ${{ fromJSON(needs.get-version-channel.outputs.isStableRelease) }}
secrets: inherit
13 changes: 13 additions & 0 deletions .github/workflows/devcenter-doc-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,25 @@ name: Update CLI Command DevCenter Documentation

on:
workflow_dispatch:
inputs:
isStableRelease:
type: boolean
description: Is this a stable/prod release?
required: true
default: false
workflow_call:
inputs:
isStableRelease:
type: boolean
description: Is this a stable/prod release?
required: true
default: false

jobs:
update-devcenter-command-docs:
name: Update Devcenter command docs
runs-on: ubuntu-latest
if: fromJSON(inputs.isStableRelease)
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
Expand Down
Loading