From e26aaa93f17f2211cc2dd8112ecfca625327cec8 Mon Sep 17 00:00:00 2001 From: lloydevans Date: Sun, 22 Feb 2026 16:48:00 +0000 Subject: [PATCH] fix: deploy directly from release workflow after tag creation --- .github/workflows/deploy.yml | 3 +-- .github/workflows/release.yml | 9 +++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e41b92f..a709a0f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,8 @@ name: Deploy on: - push: - tags: ["v*"] workflow_dispatch: + workflow_call: permissions: contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de6ebbc..2fd0501 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,9 +13,18 @@ jobs: release: name: Release runs-on: ubuntu-latest + outputs: + release_created: ${{ steps.release.outputs.release_created }} steps: - uses: googleapis/release-please-action@v4 + id: release with: config-file: release-config.json manifest-file: .release-manifest.json skip-github-pull-request: ${{ github.event_name == 'push' }} + + deploy: + needs: release + if: needs.release.outputs.release_created == 'true' + uses: ./.github/workflows/deploy.yml + secrets: inherit