From 5d6fd6a828a8497208dbcfda4fdb7a766a8d9c71 Mon Sep 17 00:00:00 2001 From: "aniket.kumar" Date: Tue, 24 Oct 2023 17:31:52 +0530 Subject: [PATCH] merged lightwood & release.yml --- .github/workflows/ligthtwood.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ligthtwood.yml b/.github/workflows/ligthtwood.yml index 9cea8d930..5986e43f7 100644 --- a/.github/workflows/ligthtwood.yml +++ b/.github/workflows/ligthtwood.yml @@ -6,6 +6,8 @@ on: branches: - stable - staging + release: + types: [ published ] jobs: @@ -46,7 +48,7 @@ jobs: deploy: runs-on: ubuntu-latest needs: test - if: github.ref == 'refs/heads/stable' + if: github.ref == 'refs/heads/stable' || github.event_name == 'release' steps: - uses: actions/checkout@v2 - name: Set up Python