From b31ff127056d95adbeb95581bf7439f008375449 Mon Sep 17 00:00:00 2001 From: Stefan Nemeth Date: Sat, 1 Feb 2025 01:44:14 +0100 Subject: [PATCH] Test workflow --- .github/workflows/prod.yml | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index ef18fcce..f8692a80 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -2,20 +2,31 @@ name: Build and Deploy to Prod on: push: - branches: [main] + branches: + - main + - fix/flyway-validate-workflow-2 jobs: validate-flyway: uses: ./.github/workflows/flyway-validate.yml build-prod-container: - uses: ./.github/workflows/build_docker.yml - secrets: inherit + needs: validate-flyway + # uses: ./.github/workflows/build_docker.yml + # secrets: inherit + runs-on: ubuntu-latest + steps: + - name: print hello 1 + run: echo "Hello 1" deploy-prod-container: needs: build-prod-container - uses: ./.github/workflows/deploy_docker.yml - secrets: inherit - with: - environment: production - client_image_tag: "latest" - application_server_image_tag: "latest" - webhook_listener_image_tag: "latest" + runs-on: ubuntu-latest + steps: + - name: print hello 2 + run: echo "Hello 2" + # uses: ./.github/workflows/deploy_docker.yml + # secrets: inherit + # with: + # environment: production + # client_image_tag: "latest" + # application_server_image_tag: "latest" + # webhook_listener_image_tag: "latest"