From e1f16bb63a5497f01082a2c0a05aa637b18491f3 Mon Sep 17 00:00:00 2001 From: paoloyx Date: Mon, 5 Aug 2024 17:07:08 +0200 Subject: [PATCH] ci: fix pipeline to create documentation version (#160) As title, pipeline has an invalid syntax --- .../workflows/prepare-docs-for-release.yaml | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/prepare-docs-for-release.yaml b/.github/workflows/prepare-docs-for-release.yaml index ddea752c..dea8ee92 100644 --- a/.github/workflows/prepare-docs-for-release.yaml +++ b/.github/workflows/prepare-docs-for-release.yaml @@ -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: @@ -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" \ No newline at end of file + commit_message: "docs: added ${{ github.event.inputs.version }} version to docs"