We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38893dc commit bcd178aCopy full SHA for bcd178a
.github/workflows/main.yml
@@ -0,0 +1,22 @@
1
+name: CI/CD Pipeline for Static Site on S3
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
7
+jobs:
8
+ build-and-deploy:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout code
12
+ uses: actions/checkout@v4
13
14
+ - name: Configure AWS credentials
15
+ uses: aws-actions/configure-aws-credentials@v4
16
+ with:
17
+ aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
18
+ aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
19
+ aws-region: us-east-1
20
21
+ - name: Deploy static site to S3 bucket
22
+ run: aws s3 sync . s3://jak-aws-bucket --delete
0 commit comments