Skip to content

Commit

Permalink
fix: aws condential
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefanie-A committed Oct 28, 2024
1 parent e388126 commit 51bb5fe
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
name: Deployment

env:
AWS_ACCESS_KEY-ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: us-east-1

on:
push:
branches:
Expand All @@ -19,9 +13,16 @@ jobs:
- name: Check out the repository
uses: actions/checkout@v4

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: verify credentials
run: aws s3 ls

- name: appleboy-ssh
uses: appleboy/ssh-action@master
with:
Expand Down

0 comments on commit 51bb5fe

Please sign in to comment.