Skip to content

Commit

Permalink
Use vars instead of secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Oct 29, 2023
1 parent c3f6ad0 commit c0a3cd3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/sst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ permissions:
jobs:
DeployApp:
runs-on: ubuntu-latest
env:
ROLE_TO_ASSUME: ${{ secrets.ROLE_TO_ASSUME }}
steps:
- name: Git clone the repository
uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: $ROLE_TO_ASSUME
role-to-assume: ${{ vars.ROLE_TO_ASSUME }}
aws-region: ap-southeast-1
- name: Deploy app
run: |
Expand Down

0 comments on commit c0a3cd3

Please sign in to comment.