Skip to content

Commit

Permalink
Updating actions
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltruong committed Jul 27, 2024
1 parent b276ec9 commit 87421e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ name: Deploy Reserve-Rec-Public Prod
run-name: Deploying ${{ github.ref_name }} (Public) to prod

on:
push:
tags:
- "*"
workflow_dispatch:
inputs:
releaseTag:
Expand Down Expand Up @@ -67,7 +64,7 @@ jobs:

### Assume AWS IAM Role
- name: Get AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
Expand All @@ -76,7 +73,7 @@ jobs:
### SAM Build
- name: Cache SAM Build
id: cache-sam-build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**.aws-sam
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

### Assume AWS IAM Role
- name: Get AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
Expand All @@ -76,7 +76,7 @@ jobs:
### SAM Build
- name: Cache SAM Build
id: cache-sam-build
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
**.aws-sam
Expand Down

0 comments on commit 87421e1

Please sign in to comment.