Skip to content

Commit

Permalink
Merge pull request #1 from haochenpan/main
Browse files Browse the repository at this point in the history
Create lightsail-deploy.yml
  • Loading branch information
haochenpan authored May 29, 2024
2 parents 1da1c1b + c1daeeb commit 66add48
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/lightsail-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Configure AWS Credentials

on:
push:
branches:
- lightsail-deploy
pull_request:
branches:
- lightsail-deploy

jobs:
configure-aws-credentials:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
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 AWS configuration
run: |
aws sts get-caller-identity

0 comments on commit 66add48

Please sign in to comment.