Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS S3 Workflow For OIDC Setup #5

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changes to build logic
kishore7snehil committed Dec 17, 2024
commit 74f75e9d53c7477531bae488cc4936e86e20dfea
6 changes: 3 additions & 3 deletions .github/workflows/aws-publish.yml
Original file line number Diff line number Diff line change
@@ -28,8 +28,8 @@ jobs:
- name: Build package
run: npm run build
# Step 5: Zip the build output
- name: Create deployment package
run: zip -r build.zip ./build
# - name: Create deployment package
# run: zip -r build.zip ./build
# Step 6: Configure AWS credentials via OIDC
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
@@ -39,4 +39,4 @@ jobs:
# Step 7: Upload to S3
- name: Upload to S3
run: |
aws s3 cp ./build.zip s3://universal-login-sample-app/build.zip --acl public-read
aws s3 cp ./dist s3://universal-login-sample-app --acl public-read