diff --git a/.github/workflows/mkdocs-latest.yaml b/.github/workflows/mkdocs-latest.yaml index fe38ba4f0cce..fd15267fced7 100644 --- a/.github/workflows/mkdocs-latest.yaml +++ b/.github/workflows/mkdocs-latest.yaml @@ -3,10 +3,11 @@ # name: Deploy the latest documentation on: - push: - tags: - - "v*" - workflow_dispatch: {} + workflow_dispatch: + inputs: + ref: + description: The tag to be released, e.g. v0.0.1 + required: true jobs: deploy: name: Deploy the latest documentation @@ -15,6 +16,7 @@ jobs: - name: Checkout main uses: actions/checkout@v3 with: + ref: ${{ github.event.inputs.ref }} fetch-depth: 0 persist-credentials: true - name: Login to docker.io registry diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 40dceb2e0cd3..c12000e81a6e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,9 +3,11 @@ # name: Release on: - push: - tags: - - "v*" + workflow_dispatch: + inputs: + ref: + description: The tag to be released, e.g. v0.0.1 + required: true jobs: release: name: Release X64 (Default) @@ -23,6 +25,7 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 with: + ref: ${{ github.event.inputs.ref }} submodules: true fetch-depth: 0 - name: Install Cosign @@ -82,6 +85,7 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 with: + ref: ${{ github.event.inputs.ref }} submodules: true fetch-depth: 0 - name: Install Cosign