Skip to content

Commit

Permalink
feat: updated qa yml file (#866)
Browse files Browse the repository at this point in the history
Signed-off-by: bhavanakarwade <[email protected]>
  • Loading branch information
bhavanakarwade authored Jan 14, 2025
1 parent 3c215c7 commit b16833a
Showing 1 changed file with 48 additions and 7 deletions.
55 changes: 48 additions & 7 deletions .github/workflows/deploy-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,59 @@ jobs:
- name: Clone repository
uses: actions/checkout@v3


- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x


- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*

- name: Create .env file

run: |
echo "PUBLIC_MODE=DEV" > .env
echo "PUBLIC_BASE_URL=${{ secrets.QA_PUBLIC_BASE_URL }}" >> .env
echo "PUBLIC_SHOW_NAME_AS_LOGO=true" >> .env
echo "PUBLIC_PLATFORM_NAME=CREDEBL" >> .env
echo "PUBLIC_PLATFORM_LOGO=/images/CREDEBL_ICON.png" >> .env
echo "PUBLIC_POWERED_BY=Blockster Labs Pvt. Ltd" >> .env
echo "PUBLIC_PLATFORM_DOCS_URL=https://docs.credebl.id/docs" >> .env
echo "PUBLIC_PLATFORM_GIT=https://github.com/credebl" >> .env
echo "PUBLIC_PLATFORM_TWITTER_URL=https://twitter.com/i/flow/login?redirect_after_login=%2Fcredebl" >> .env
echo "PUBLIC_PLATFROM_DISCORD_SUPPORT=https://discord.gg/w4hnQT7NJG" >> .env
echo "PUBLIC_ALLOW_DOMAIN=${{ secrets.QA_PUBLIC_ALLOW_DOMAIN }}" >> .env
echo "PUBLIC_POLYGON_MAINNET_URL=https://polygon-rpc.com/" >> .env
echo "PUBLIC_POLYGON_TESTNET_URL=https://rpc-amoy.polygon.technology" >> .env
echo "PUBLIC_ECOSYSTEM_FRONT_END_URL=https://qa-ecosystem.credebl.id" >> .env
echo "PUBLIC_CREDEBL_FRONT_END_URL=https://qa.credebl.id" >> .env
echo "PUBLIC_ECOSYSTEM_BASE_URL=${{ secrets.QA_PUBLIC_ECOSYSTEM_BASE_URL }}" >> .env
echo "PUBLIC_PLATFORM_DISCORD_URL=https://discord.gg/w4hnQT7NJG" >> .env
echo "PUBLIC_REDIRECTION_TARGET_URL=https://social-share.credebl.id" >> .env
echo "PUBLIC_CRYPTO_PRIVATE_KEY=${{ secrets.QA_PUBLIC_CRYPTO_PRIVATE_KEY }}" >> .env
echo "PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_ID=${{ secrets.QA_PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_ID }}" >> .env
echo "PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRET=${{ secrets.QA_PUBLIC_KEYCLOAK_MANAGEMENT_CLIENT_SECRET }}" >> .env
echo "PUBLIC_REDIRECT_FROM_URL=https://qa.credebl.id" >> .env
- name: Build step
run: npm install && npm run build # 📝 Update the build command(s)

Expand Down

0 comments on commit b16833a

Please sign in to comment.