Skip to content

Commit

Permalink
release test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed May 16, 2024
1 parent 57e28ed commit 11fb9e1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ jobs:
version: ${{ github.event.release.id }}
file: ecr_tag.txt
target: ./tofu/environments/stage/services/backend-service

- name: Unzip ECR tag
working-directory: ./tofu/environments/stage/services/backend-service
run: unzip ecr_tag.zip

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ jobs:
role-session-name: Appointment_GitHub_to_AWS_via_FederatedOIDC
aws-region: ${{ vars.AWS_REGION }}

- name: Build frontend archive
run: |
zip -r frontend.zip frontend/dist
# - name: Build frontend archive
# run: |
# zip -r frontend.zip frontend/dist
#
- name: Archive Frontend
uses: actions/upload-artifact@v4
with:
name: frontend
path: frontend.zip
path: frontend/dist

- name: Deploy frontend to S3
run: aws s3 sync frontend/dist "s3://${{ needs.deploy-iac.outputs.bucket }}"
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:
uses: actions/download-artifact@v4
with:
name:
ecr_tag.txt
ecr_tag

- name: create release tag
id: create-release-tag
Expand All @@ -301,4 +301,4 @@ jobs:
draft: true
files: |
frontend.zip
ecr_tag.txt
ecr_tag.zip

0 comments on commit 11fb9e1

Please sign in to comment.