Skip to content

Commit

Permalink
update pr
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshataKatwal16 committed Dec 24, 2024
1 parent ed5b32f commit ac31e34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ NEXT_PUBLIC_TENANT_ID="" # Tenant Id of User
NEXT_PUBLIC_CLOUD_STORAGE_URL="" # Use environment variable for S3 Cloud Storage URL - should have / at the end.
NEXT_PUBLIC_CHANNEL_ID="" # Channel Id of knowlg-inQuiry setup
NEXT_PUBLIC_FRAMEWORK_ID="" # Framework Id of knowlg-inQuiry setup
NEXT_PUBLIC_CONTENT_FRAMEWORK_ID="" # Learning Framework Id for Content Creation
NEXT_PUBLIC_TELEMETRY_URL="" #telemetry service path
AWS_ACCESS_KEY_ID="" # For AWS S3 large file chunks upload
AWS_ACCESS_SECRET_KEY="" # For AWS S3 large file chunks upload
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/qa-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to Tekdi-QA-Server
on:
push:
branches:
- release-1.0.0
- release-1.1.0
jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -24,4 +24,4 @@ jobs:
echo '${{ secrets.QA_ENV }}' > .env
ls -ltra
./deploy.sh
#Testing
#Testing
5 changes: 5 additions & 0 deletions src/utils/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ if (!FRAMEWORK_ID) {
console.warn('NEXT_PUBLIC_FRAMEWORK_ID is not set in the environment variables.');
}

export const CONTENT_FRAMEWORK_ID = process.env.NEXT_PUBLIC_CONTENT_FRAMEWORK_ID || "";
if (!CONTENT_FRAMEWORK_ID) {
console.warn('NEXT_PUBLIC_CONTENT_FRAMEWORK_ID is not set in the environment variables.');
}

export const CLOUD_STORAGE_URL = process.env.NEXT_PUBLIC_CLOUD_STORAGE_URL || "";
if (!CLOUD_STORAGE_URL) {
console.warn('NEXT_PUBLIC_CLOUD_STORAGE_URL is not set in the environment variables.');
Expand Down

0 comments on commit ac31e34

Please sign in to comment.