From ee7bd08896b48c5b6f356ad2ab9f5d275a30fbb3 Mon Sep 17 00:00:00 2001 From: Himadri Singh Date: Tue, 2 Jan 2024 17:52:41 +0530 Subject: [PATCH 1/2] Dev environment for UI --- .github/workflows/cloud-admin.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cloud-admin.yml b/.github/workflows/cloud-admin.yml index 95dc5b4fa9c..6f45dd31f97 100644 --- a/.github/workflows/cloud-admin.yml +++ b/.github/workflows/cloud-admin.yml @@ -19,6 +19,7 @@ on: options: - stage - prod + - dev env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} @@ -43,8 +44,13 @@ jobs: echo "NETLIFY_SITE_ID=afb26917-7a60-47d9-81dc-c0babbb0d9a9" >> $GITHUB_ENV echo "DOMAIN=rilldata.com" >> $GITHUB_ENV else - echo "NETLIFY_SITE_ID=e73ac785-882e-425a-8fc8-5432528bb374" >> $GITHUB_ENV - echo "DOMAIN=rilldata.io" >> $GITHUB_ENV + if [[ $ENV == "stage" ]]; then + echo "NETLIFY_SITE_ID=e73ac785-882e-425a-8fc8-5432528bb374" >> $GITHUB_ENV + echo "DOMAIN=rilldata.io" >> $GITHUB_ENV + else + echo "NETLIFY_SITE_ID=ad7b8d67-9b24-4b2a-8985-1a80b7b0ab11" >> $GITHUB_ENV + echo "DOMAIN=rilldata.dev" >> $GITHUB_ENV + fi fi - name: Build Cloud UI From 41c0e925c113fd7afbc3290e2711f82ae01ca5dc Mon Sep 17 00:00:00 2001 From: Himadri Singh Date: Tue, 2 Jan 2024 17:59:31 +0530 Subject: [PATCH 2/2] Update .github/workflows/cloud-admin.yml --- .github/workflows/cloud-admin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cloud-admin.yml b/.github/workflows/cloud-admin.yml index 6f45dd31f97..4e3d0ab3854 100644 --- a/.github/workflows/cloud-admin.yml +++ b/.github/workflows/cloud-admin.yml @@ -19,7 +19,7 @@ on: options: - stage - prod - - dev + - test env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}