From f60fa1bbb479901d315792eb9996be755ca1d87a Mon Sep 17 00:00:00 2001 From: Gourav More Date: Wed, 19 Jun 2024 17:02:24 +0530 Subject: [PATCH] Issue #all-automation --- .github/workflows/all-dev-rig.yml | 66 +++++++++++++++---------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/.github/workflows/all-dev-rig.yml b/.github/workflows/all-dev-rig.yml index 362e3669..7888a716 100644 --- a/.github/workflows/all-dev-rig.yml +++ b/.github/workflows/all-dev-rig.yml @@ -32,38 +32,38 @@ jobs: - name: Build and Package Application env: - SKIP_PREFLIGHT_CHECK: ${{ secrets.SKIP_PREFLIGHT_CHECK }} - REACT_APP_MODE: ${{ secrets.REACT_APP_MODE }} - REACT_APP_authToken: ${{ secrets.REACT_APP_authToken }} - REACT_APP_PID: ${{ secrets.REACT_APP_PID }} - REACT_APP_UID: ${{ secrets.REACT_APP_UID }} - REACT_APP_ID: ${{ secrets.REACT_APP_ID }} - REACT_APP_VER: ${{ secrets.REACT_APP_VER }} - REACT_APP_TIMEDIFF: ${{ secrets.REACT_APP_TIMEDIFF }} - REACT_APP_HOST: ${{ secrets.REACT_APP_HOST }} - REACT_APP_ENDPOINT: ${{ secrets.REACT_APP_ENDPOINT }} - REACT_APP_APISLUG: ${{ secrets.REACT_APP_APISLUG }} - REACT_APP_CHANNEL: ${{ secrets.REACT_APP_CHANNEL }} - REACT_APP_ENV: ${{ secrets.REACT_APP_ENV }} - REACT_APP_BATCHSIZE: ${{ secrets.REACT_APP_BATCHSIZE }} - REACT_APP_CONTENT_SIZE: ${{ secrets.REACT_APP_CONTENT_SIZE }} - REACT_APP_LANGUAGE: ${{ secrets.REACT_APP_LANGUAGE }} - REACT_APP_TELEMETRY_MODE: ${{ secrets.REACT_APP_TELEMETRY_MODE }} - REACT_APP_VIRTUAL_ID_HOST: ${{ secrets.REACT_APP_VIRTUAL_ID_HOST }} - REACT_APP_LEARNER_AI_ORCHESTRATION_HOST: ${{ secrets.REACT_APP_LEARNER_AI_ORCHESTRATION_HOST }} - REACT_APP_LEARNER_AI_APP_HOST: ${{ secrets.REACT_APP_LEARNER_AI_APP_HOST }} - REACT_APP_CONTENT_SERVICE_APP_HOST: ${{ secrets.REACT_APP_CONTENT_SERVICE_APP_HOST }} - REACT_APP_CAPTURE_AUDIO: ${{ secrets.REACT_APP_CAPTURE_AUDIO }} - REACT_APP_AWS_S3_BUCKET_NAME: ${{ secrets.REACT_APP_AWS_S3_BUCKET_NAME }} - REACT_APP_AWS_S3_BUCKET_URL: ${{ secrets.REACT_APP_AWS_S3_BUCKET_URL }} - REACT_APP_AWS_S3_REGION: ${{ secrets.REACT_APP_AWS_S3_REGION }} - REACT_APP_AWS_S3_BUCKET_CONTENT_URL: ${{ secrets.REACT_APP_AWS_S3_BUCKET_CONTENT_URL }} - REACT_APP_MIN_DECIBELS: ${{ secrets.REACT_APP_MIN_DECIBELS }} - REACT_APP_IS_AUDIOPREPROCESSING: ${{ secrets.REACT_APP_IS_AUDIOPREPROCESSING }} - REACT_APP_POST_LEARNER_PROGRESS: ${{ secrets.REACT_APP_POST_LEARNER_PROGRESS }} - REACT_APP_IS_APP_IFRAME: ${{ secrets.REACT_APP_IS_APP_IFRAME }} - REACT_APP_IS_APP_TEST_RIG: ${{ secrets.REACT_APP_IS_APP_TEST_RIG }} - REACT_APP_IS_APP_LANGUAGES: ${{ secrets.REACT_APP_IS_APP_LANGUAGES }} + SKIP_PREFLIGHT_CHECK: ${{ env.SKIP_PREFLIGHT_CHECK }} + REACT_APP_MODE: ${{ env.REACT_APP_MODE }} + REACT_APP_authToken: ${{ env.REACT_APP_authToken }} + REACT_APP_PID: ${{ env.REACT_APP_PID }} + REACT_APP_UID: ${{ env.REACT_APP_UID }} + REACT_APP_ID: ${{ env.REACT_APP_ID }} + REACT_APP_VER: ${{ env.REACT_APP_VER }} + REACT_APP_TIMEDIFF: ${{ env.REACT_APP_TIMEDIFF }} + REACT_APP_HOST: ${{ env.REACT_APP_HOST }} + REACT_APP_ENDPOINT: ${{ env.REACT_APP_ENDPOINT }} + REACT_APP_APISLUG: ${{ env.REACT_APP_APISLUG }} + REACT_APP_CHANNEL: ${{ env.REACT_APP_CHANNEL }} + REACT_APP_ENV: ${{ env.REACT_APP_ENV }} + REACT_APP_BATCHSIZE: ${{ env.REACT_APP_BATCHSIZE }} + REACT_APP_CONTENT_SIZE: ${{ env.REACT_APP_CONTENT_SIZE }} + REACT_APP_LANGUAGE: ${{ env.REACT_APP_LANGUAGE }} + REACT_APP_TELEMETRY_MODE: ${{ env.REACT_APP_TELEMETRY_MODE }} + REACT_APP_VIRTUAL_ID_HOST: ${{ env.REACT_APP_VIRTUAL_ID_HOST }} + REACT_APP_LEARNER_AI_ORCHESTRATION_HOST: ${{ env.REACT_APP_LEARNER_AI_ORCHESTRATION_HOST }} + REACT_APP_LEARNER_AI_APP_HOST: ${{ env.REACT_APP_LEARNER_AI_APP_HOST }} + REACT_APP_CONTENT_SERVICE_APP_HOST: ${{ env.REACT_APP_CONTENT_SERVICE_APP_HOST }} + REACT_APP_CAPTURE_AUDIO: ${{ env.REACT_APP_CAPTURE_AUDIO }} + REACT_APP_AWS_S3_BUCKET_NAME: ${{ env.REACT_APP_AWS_S3_BUCKET_NAME }} + REACT_APP_AWS_S3_BUCKET_URL: ${{ env.REACT_APP_AWS_S3_BUCKET_URL }} + REACT_APP_AWS_S3_REGION: ${{ env.REACT_APP_AWS_S3_REGION }} + REACT_APP_AWS_S3_BUCKET_CONTENT_URL: ${{ env.REACT_APP_AWS_S3_BUCKET_CONTENT_URL }} + REACT_APP_MIN_DECIBELS: ${{ env.REACT_APP_MIN_DECIBELS }} + REACT_APP_IS_AUDIOPREPROCESSING: ${{ env.REACT_APP_IS_AUDIOPREPROCESSING }} + REACT_APP_POST_LEARNER_PROGRESS: ${{ env.REACT_APP_POST_LEARNER_PROGRESS }} + REACT_APP_IS_APP_IFRAME: ${{ env.REACT_APP_IS_APP_IFRAME }} + REACT_APP_IS_APP_TEST_RIG: ${{ env.REACT_APP_IS_APP_TEST_RIG }} + REACT_APP_IS_APP_LANGUAGES: ${{ env.REACT_APP_IS_APP_LANGUAGES }} run: npm run build - name: Deploy to S3 Bucket @@ -73,7 +73,7 @@ jobs: run: | echo "REACT_APP_AWS_S3_BUCKET_NAME: $REACT_APP_AWS_S3_BUCKET_NAME" echo "AWS_REGION: $AWS_REGION" - echo "secrate": ${{ secrets.REACT_APP_AWS_S3_BUCKET_NAME }} + echo "secrate": ${{ env.REACT_APP_AWS_S3_BUCKET_NAME }} - name: Cloudfront Invalidation uses: chetan/invalidate-cloudfront-action@master