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

fix(workflow): combine GitHub npm task into 1 of auto-bump docs version workflow #283

Merged
merged 1 commit into from
Feb 21, 2025
Merged
Changes from all commits
Commits
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
15 changes: 6 additions & 9 deletions .github/workflows/bump-docs-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: navigate to docs folder
run: cd docs

- name: Install npm dependencies
run: npm install


- name: Generate new version
run: npm run docusaurus docs:version ${{ github.event.inputs.version }}
run: |
cd docs
npm install
npm run docusaurus docs:version ${{ github.event.inputs.version }}

- name: Check for changes
run: |
Expand All @@ -45,4 +42,4 @@ jobs:
title: "docs(${{ github.event.inputs.version }}): bump new docs version"
body: "This automatically generated PR bumps the docs version to ${{ github.event.inputs.version }}."
commit-message: "docs(${{ github.event.inputs.version }}): bump new docs version"
delete-branch: true
delete-branch: true
Loading