Skip to content

Commit

Permalink
temporary hardcode s3 bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed May 12, 2024
1 parent 2230d1c commit b93c9e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ jobs:
role-to-assume: ${{ secrets.IAM_ROLE }}
role-session-name: Appointment_GitHub_to_AWS_via_FederatedOIDC
aws-region: ${{ vars.AWS_REGION }}

- name: Deploy frontend to S3
run: aws s3 sync frontend/dist s3://tb-apmt-prod-frontend

deploy-backend:
needs:
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,6 @@ jobs:
terragrunt plan -out tfplan
terragrunt apply tfplan
- name: output-bucket-name
id: output-bucket-name
working-directory: ./tofu/environments/stage/services/frontend-infra
run: |
output=$(terragrunt output bucket)
echo bucket=$output >> $GITHUB_OUTPUT
deploy-frontend:
needs:
- detect-changes
Expand Down Expand Up @@ -165,7 +158,7 @@ jobs:
aws-region: ${{ vars.AWS_REGION }}

- name: Deploy frontend to S3
run: aws s3 sync frontend s3://tb-apmt-stg-frontend
run: aws s3 sync frontend/dist s3://tb-apmt-stg-frontend



Expand Down

0 comments on commit b93c9e4

Please sign in to comment.