Skip to content

Commit

Permalink
Update aws.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gouravmore authored Jan 24, 2024
1 parent d27a882 commit 7751478
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: ALL rig Deployment
on:
push:
branches:
- all-rig-v1
- all-rig-v1-hotfix-1

jobs:
deploy:
runs-on: ubuntu-latest
environment: all-prod-rig
environment: all-dev-rig

steps:
- name: Checkout code
Expand Down Expand Up @@ -39,10 +39,10 @@ jobs:
REACT_APP_authToken="" \
REACT_APP_PID=learner-ai-story-demo \
REACT_APP_UID=anonymous \
REACT_APP_ID=all.rig.app \
REACT_APP_VER="0.1.4" \
REACT_APP_ID=all.ll.app \
REACT_APP_VER="0.3.0" \
REACT_APP_TIMEDIFF="0" \
REACT_APP_HOST=https://telemetry.theall.ai \
REACT_APP_HOST=https://telemetry-dev.theall.ai \
REACT_APP_ENDPOINT=telemetry \
REACT_APP_APISLUG="/v1/" \
REACT_APP_CHANNEL="learner-ai-demo" \
Expand All @@ -51,17 +51,17 @@ jobs:
REACT_APP_CONTENT_SIZE=5 \
REACT_APP_LANGUAGE=ta \
REACT_APP_TELEMETRY_MODE=DT \
REACT_APP_LEARNER_AI_APP_HOST="https://www.learnerai.theall.ai" \
REACT_APP_LEARNER_AI_APP_HOST="https://www.learnerai-dev.theall.ai" \
REACT_APP_CAPTURE_AUDIO=true \
REACT_APP_AWS_S3_BUCKET_NAME=all-prod-storage \
REACT_APP_AWS_S3_BUCKET_URL=https://all-prod-storage.s3.ap-south-1.amazonaws.com \
REACT_APP_AWS_S3_BUCKET_NAME=all-dev-storage \
REACT_APP_AWS_S3_BUCKET_URL=https://all-dev-storage.s3.ap-south-1.amazonaws.com \
REACT_APP_AWS_S3_REGION=ap-south-1 \
REACT_APP_AWS_ACCESS_KEY_ID=${{ secrets.REACT_APP_AWS_ACCESS_KEY_ID }} \
REACT_APP_AWS_SECRET_ACCESS_KEY=${{ secrets.REACT_APP_AWS_SECRET_ACCESS_KEY }} \
npm run build
- name: Deploy to S3 Bucket
run: |
aws s3 sync ./build s3://sb-all-rig/assets/sb-ai/
aws s3 sync ./build s3://sballappliance/assets/sb-ai/
- name: Debug Environment Variables
run: |
echo "REACT_APP_AWS_S3_BUCKET_NAME: $REACT_APP_AWS_S3_BUCKET_NAME"
Expand Down

0 comments on commit 7751478

Please sign in to comment.