From e1260d504eed9f401535e418fd5fc1fcc3614677 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 13 Jan 2024 17:10:00 -0800 Subject: [PATCH] Re-enable deploy --- .github/workflows/build.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0f2bfd793..f901eddc9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -207,13 +207,13 @@ jobs: binary_artifact: ${{ matrix.binary_artifact }} binary_path: ${{ matrix.binary_path }} - # deploy: - # if: ${{ github.ref_name == 'develop' || github.ref_name == 'main' }} - # needs: [backend, unit_test, unit_test_postgres, integration_test] - # secrets: inherit - # uses: ./.github/workflows/deploy.yml - # with: - # framework: ${{ needs.backend.outputs.framework }} - # branch: ${{ github.ref_name }} - # major_version: ${{ needs.backend.outputs.major_version }} - # version: ${{ needs.backend.outputs.version }} + deploy: + if: ${{ github.ref_name == 'develop' || github.ref_name == 'main' }} + needs: [backend, unit_test, unit_test_postgres, integration_test] + secrets: inherit + uses: ./.github/workflows/deploy.yml + with: + framework: ${{ needs.backend.outputs.framework }} + branch: ${{ github.ref_name }} + major_version: ${{ needs.backend.outputs.major_version }} + version: ${{ needs.backend.outputs.version }}