Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanNemeth committed Feb 1, 2025
1 parent 98f4634 commit b31ff12
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit b31ff12

Please sign in to comment.