Skip to content

Commit

Permalink
Switch test_and_deploy.yml from PRODUCTION to PROD20240903
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael authored Sep 5, 2024
1 parent 1c3b99c commit a227b1d
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,31 +154,9 @@ jobs:
deploy-production:
name: Deploy [PRODUCTION]
runs-on: ubuntu-20.04
environment: production
needs: [tests]
if: startsWith(github.event.ref, 'refs/tags')
steps:
- name: Checkout repository
uses: actions/checkout@v4

- id: configure-docker
name: Configure Docker
uses: ./.github/actions/configure-docker

- id: deploy-infrastructure-production
name: Deploy Infrastructure
uses: ./.github/actions/deploy_infrastructure
with:
environment: production
pulumi-version: 3.121.0
pulumi-stack-passphrase: production

deploy-new-production:
name: Deploy New [PRODUCTION]
runs-on: ubuntu-20.04
environment: prod20240903
needs: [tests]
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/feat/new-prod'
if: startsWith(github.event.ref, 'refs/tags')
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit a227b1d

Please sign in to comment.