Skip to content

Commit

Permalink
Updated suffix name
Browse files Browse the repository at this point in the history
  • Loading branch information
dallascrichmond committed Oct 31, 2024
1 parent d241a87 commit 0adfd11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
type: string
target:
description: Deployment target; e.g. PR number (omit), test or prod
default: ${{ github.event.number }}
default: -dev-${{ github.event.number }}
required: false
type: string

Expand All @@ -33,7 +33,7 @@ jobs:
file: common/openshift.init.yml
overwrite: true
parameters:
-p NAME_SUFFIX=-dev-${{ inputs.target }}
-p NAME_SUFFIX=${{ inputs.target }}
-p DB_PASSWORD=${{ secrets.DB_PASSWORD }}
-p DB_USER=${{ secrets.DB_USER }}
-p DB_NAME=${{ secrets.DB_NAME }}
Expand All @@ -54,7 +54,7 @@ jobs:
file: database/openshift.deploy.yml
overwrite: false
parameters:
-p NAME_SUFFIX=-dev-${{ inputs.target }}
-p NAME_SUFFIX=${{ inputs.target }}
-p IMAGE_TAG=${{ inputs.tag }}
-p TARGET=${{ inputs.target }}

Expand All @@ -73,7 +73,7 @@ jobs:
file: backend/openshift.deploy.yml
overwrite: true
parameters:
-p NAME_SUFFIX=-dev-${{ inputs.target }}
-p NAME_SUFFIX=${{ inputs.target }}
-p IMAGE_TAG=${{ inputs.tag }}
-p TARGET=${{ inputs.target }}
verification_path: /api/health
Expand Down

0 comments on commit 0adfd11

Please sign in to comment.