Skip to content

Commit

Permalink
make prod ready
Browse files Browse the repository at this point in the history
  • Loading branch information
oluwolenpbc authored and oluwolenpbc committed Oct 2, 2024
1 parent f62c7da commit 589259e
Showing 1 changed file with 30 additions and 39 deletions.
69 changes: 30 additions & 39 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: release
on:
release:
types: [released]
push:
workflow_dispatch:
inputs:
environment:
Expand Down Expand Up @@ -34,52 +33,44 @@ jobs:
module: worker
secrets: inherit

deploy-prod-test-api:
needs: promote-prod-test-api
deploy-prod-test-worker:
needs: promote-prod-test-worker
uses: ./.github/workflows/deploy.yml
with:
environment: prod-test
module: api
module: worker
secrets: inherit

# deploy-prod-test-worker:
# needs: promote-prod-test-worker
# uses: ./.github/workflows/deploy.yml
# with:
# environment: prod-test
# module: worker
# secrets: inherit

# Promote and Deploy to prod
# promote-prod-api:
# uses: ./.github/workflows/promote.yml
# with:
# environment: prod
# module: api
# secrets: inherit
# Promote and Deploy to prod
promote-prod-api:
uses: ./.github/workflows/promote.yml
with:
environment: prod
module: api
secrets: inherit

# promote-prod-worker:
# uses: ./.github/workflows/promote.yml
# with:
# environment: prod
# module: worker
# secrets: inherit
promote-prod-worker:
uses: ./.github/workflows/promote.yml
with:
environment: prod
module: worker
secrets: inherit

# deploy-prod-api:
# needs: promote-prod-api
# uses: ./.github/workflows/deploy.yml
# with:
# environment: prod
# module: api
# secrets: inherit
deploy-prod-api:
needs: promote-prod-api
uses: ./.github/workflows/deploy.yml
with:
environment: prod
module: api
secrets: inherit

# deploy-prod-worker:
# needs: promote-prod-worker
# uses: ./.github/workflows/deploy.yml
# with:
# environment: prod
# module: worker
# secrets: inherit
deploy-prod-worker:
needs: promote-prod-worker
uses: ./.github/workflows/deploy.yml
with:
environment: prod
module: worker
secrets: inherit

# Promote and Deploy to sandbox
promote-sbx-api:
Expand Down

0 comments on commit 589259e

Please sign in to comment.