Skip to content

Commit

Permalink
Use secret for region
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Mar 8, 2024
1 parent 843366e commit 7bad93f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
cd website
ls -R ./out
- name: Debug - Display AWS CLI version
run: aws --version

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-south-1

- name: Debug - Display AWS CLI version
run: aws --version
aws-region: ${{ secrets.AWS_REGION }}

- name: Deploy to S3
run: |
Expand Down

0 comments on commit 7bad93f

Please sign in to comment.