Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Adding credential information
  • Loading branch information
emgeier authored Oct 18, 2024
1 parent 8758c66 commit a4e126d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ jobs:
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.AWS_INTERIM_ROLE }}
aws-region: ${{ secrets.AWS_REGION }}
aws-region: us-east-1
role-session-name: GitHub-OIDC-frontend

# Step 3: Sync files to S3 for static website hosting
- name: Sync files to S3
run: |
aws s3 sync ./ s3://srophe-syriaca-front-end --delete
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}

0 comments on commit a4e126d

Please sign in to comment.