diff --git a/.env.production b/.env.production index 2329f645..dfc36dc2 100644 --- a/.env.production +++ b/.env.production @@ -14,4 +14,4 @@ REACT_APP_FEATURE_FLAG_IMAGE_CROP=true REACT_APP_ENV="production" REACT_APP_INVITE_URL=" https://cms.footlight.io/join?invitationId=" REACT_APP_ACCEPT_URL=" https://cms.footlight.io/accept?invitationId=" -REACT_APP_CALENDAR_WIDGET_BASE_URL="https://listing-widget.footlight.io" +REACT_APP_CALENDAR_WIDGET_BASE_URL="https://listing-widget.footlight.io/v0" diff --git a/.env.staging b/.env.staging index c97ab036..337ca97f 100644 --- a/.env.staging +++ b/.env.staging @@ -14,4 +14,4 @@ REACT_APP_FEATURE_FLAG_IMAGE_CROP=true REACT_APP_ENV="staging" REACT_APP_INVITE_URL="http://staging.cms.footlight.io/join?invitationId=" REACT_APP_ACCEPT_URL="http://staging.cms.footlight.io/accept?invitationId=" -REACT_APP_CALENDAR_WIDGET_BASE_URL="https://s3.ca-central-1.amazonaws.com/staging.cms-widget.footlight.io/index.html" \ No newline at end of file +REACT_APP_CALENDAR_WIDGET_BASE_URL="https://s3.ca-central-1.amazonaws.com/staging.cms-widget.footlight.io/v0/index.html" \ No newline at end of file diff --git a/.github/workflows/build-production-deploy-s3.yml b/.github/workflows/build-production-deploy-s3.yml index 97e963f1..6e42127d 100644 --- a/.github/workflows/build-production-deploy-s3.yml +++ b/.github/workflows/build-production-deploy-s3.yml @@ -23,6 +23,7 @@ jobs: # Append additional environment variables to .env.staging - name: Add extra env variables run: | + echo "" >> .env.production echo "REACT_APP_GOOGLE_MAPS_API_KEY=${{ secrets.GOOGLE_MAPS_API_KEY }}" >> .env.production echo "REACT_APP_GOOGLE_MAPS_ID=${{ secrets.GOOGLE_MAPS_ID }}" >> .env.production diff --git a/.github/workflows/build-staging-deploy-s3.yml b/.github/workflows/build-staging-deploy-s3.yml index 1417c367..44a9562a 100644 --- a/.github/workflows/build-staging-deploy-s3.yml +++ b/.github/workflows/build-staging-deploy-s3.yml @@ -21,6 +21,7 @@ jobs: # Append additional environment variables to .env.staging - name: Add extra env variables run: | + echo "" >> .env.staging echo "REACT_APP_GOOGLE_MAPS_API_KEY=${{ secrets.GOOGLE_MAPS_API_KEY }}" >> .env.staging echo "REACT_APP_GOOGLE_MAPS_ID=${{ secrets.GOOGLE_MAPS_ID }}" >> .env.staging - name: build