Skip to content

Commit 277a9df

Browse files
committed
added initial github actions workflow for deploying to AWS
1 parent 4e7d4a6 commit 277a9df

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deploy
2+
on: [push]
3+
permissions:
4+
id-token: write
5+
jobs:
6+
aws_deploy:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v3
11+
12+
- name: Configure AWS credentials
13+
uses: aws-actions/configure-aws-credentials@v6.1.0
14+
with:
15+
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
16+
aws-region: ${{ secrets.AWS_REGION }}
17+
18+
# - name: Build Docker Image
19+
20+
# - name: Push to ECR
21+
# run: |
22+
# # Add your deployment commands here, for example:
23+
# # aws s3 sync ./dist s3://your-bucket-name --delete
24+
# echo "Deploying to AWS..."

0 commit comments

Comments
 (0)