Skip to content

Commit

Permalink
Fix envar
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts committed Oct 2, 2024
1 parent 42b13d1 commit 6b384ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ jobs:

deploy:
name: Deploy
env:
CRONJOB: ${{ github.event.repository.name }}-${{ inputs.target }}-database-backup
environment: ${{ inputs.environment }}
if: needs.init.outputs.deploy_core == 'true'
needs: [init]
Expand All @@ -127,7 +125,7 @@ jobs:
file: common/openshift.backup.yml
parameters:
-p ZONE=${{ env.ZONE }} -p PG_DB_IMAGE=postgis/postgis:15-master
post_rollout: oc create job --from=cronjob/${{ env.CRONJOB }} ${{ env.CRONJOB }}-$(date +%Y%m%d%H%M%S)
post_rollout: oc create job --from=cronjob/${{ github.event.repository.name }}-${{ inputs.target }}-database-backup ${{ github.event.repository.name }}-${{ inputs.target }}-database-backup-$(date +%Y%m%d%H%M%S)
- name: frontend
file: frontend/openshift.deploy.yml
parameters:
Expand Down

0 comments on commit 6b384ce

Please sign in to comment.