Skip to content

Commit

Permalink
ci: fix pipeline to create documentation version (#160)
Browse files Browse the repository at this point in the history
As title, pipeline has an invalid syntax
  • Loading branch information
paoloyx authored Aug 5, 2024
1 parent 5c93840 commit e1f16bb
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/prepare-docs-for-release.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
name: Prepare Docs for next release

on: [workflow_dispatch]


inputs:
version:
description: "The next version we're going to release (must be in the form vX.Y.Z)"
required: true
default: 'v1.0.0'
release-branch:
description: "The name of the release branch where we'll create the new Docusaurus documentation versioned"
required: true
default: 'release-please--branches--main'
on:
workflow_dispatch:
inputs:
version:
description: "The next version we're going to release (must be in the form vX.Y.Z)"
required: true
default: 'v1.0.0'
release-branch:
description: "The name of the release branch where we'll create the new Docusaurus documentation versioned"
required: true
default: 'release-please--branches--main'

jobs:
run-versioning-command:
Expand Down Expand Up @@ -59,4 +58,4 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: ${{ github.event.inputs.release-branch }}"
commit_message: "docs: added ${{ github.event.inputs.version }} version to docs"
commit_message: "docs: added ${{ github.event.inputs.version }} version to docs"

0 comments on commit e1f16bb

Please sign in to comment.