Skip to content

Commit

Permalink
Update S3-deployment.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ishan-ttpl authored Jan 3, 2025
1 parent 93f8fee commit 2ceb452
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/S3-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ jobs:
- name: Install Dependencies
run: npm install --legacy-peer-deps

- name: Ensure .env.local Exists
run: |
if [ ! -f .env.local ]; then
echo "Creating .env.local"
touch .env.local
fi
- name: Build and Package Application
env:
REACT_APP_MODE: ${{ vars.REACT_APP_MODE }}
Expand Down Expand Up @@ -84,7 +91,6 @@ jobs:
run: |
echo "REACT_APP_AWS_S3_BUCKET_NAME: $REACT_APP_AWS_S3_BUCKET_NAME"
echo "AWS_REGION: $AWS_REGION"
echo "secrate": ${{ vars.REACT_APP_AWS_S3_BUCKET_NAME }}
- name: Cloudfront Invalidation
uses: chetan/invalidate-cloudfront-action@master
Expand Down

0 comments on commit 2ceb452

Please sign in to comment.