Skip to content

Commit

Permalink
Added in bucket input variable
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorHalf committed Dec 5, 2023
1 parent 1f109e5 commit c8ff903
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-VTMDev-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
uses: ./.github/workflows/deploy.yml
with:
branch: ${{ github.ref_name }}
environment: 'vtmdev-1.develop'
environment: 'vtmdev-1'
bucket: '-vtmdev-1.develop'
secrets:
AWS_MGMT_ROLE: ${{ secrets.AWS_MGMT_ROLE }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branch:
type: string
required: true
bucket:
type: string
required: true
secrets:
AWS_MGMT_ROLE:
required: true
Expand Down Expand Up @@ -104,5 +107,5 @@ jobs:

- name: Deploy App to S3
working-directory: cvs-app-vtm/dist/
run: aws s3 sync . s3://vtm-${{ inputs.environment }}.${{ env.CVS_APP_VTM_GHA_DOMAIN }}
run: aws s3 sync . s3://vtm${{ inputs.bucket }}.${{ env.CVS_APP_VTM_GHA_DOMAIN }}

0 comments on commit c8ff903

Please sign in to comment.