From 8c75f7a1b1823856b91f2a3b148762b3e6eb0e1c Mon Sep 17 00:00:00 2001 From: "oura.a" Date: Tue, 20 Jun 2023 05:18:30 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20168:=20static=20app=E3=81=AB?= =?UTF-8?q?=E3=81=A4=E3=81=84=E3=81=A6=E7=92=B0=E5=A2=83=E3=81=94=E3=81=A8?= =?UTF-8?q?=E3=81=AB=E8=A8=AD=E5=AE=9A=E5=80=A4=E3=82=92=E5=88=87=E3=82=8A?= =?UTF-8?q?=E6=9B=BF=E3=81=88=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task2004: static appについて環境ごとに設定値を切り替える](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2004) ステージング環境用のB2C情報を設定したenvファイルを作成。 作成したenvファイルはpipelineの 「Dictation Static App Service Deploy」→「Bash Script」→「Script」 を以下のように修正することでの反映を考えています。 ■修正前 cd dictation_client && npm run build ■修正後 cd dictation_client && cp -f .env.staging .env && npm run build ※もしも本修正がdevelop環境にも影響する場合は、develop側も同様にenvファイルを作成しpipelineにコピー処理を追加する。 ## レビューポイント 設定内容が妥当か。 上記のpipelineへの追加処理が妥当か。 ## UIの変更 なし ## 動作確認状況 未 ## 補足 なし --- dictation_client/.env.staging | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 dictation_client/.env.staging diff --git a/dictation_client/.env.staging b/dictation_client/.env.staging new file mode 100644 index 0000000..b667f79 --- /dev/null +++ b/dictation_client/.env.staging @@ -0,0 +1,4 @@ +VITE_STAGE=staging +VITE_B2C_CLIENTID=5d8f0db9-4506-41d6-a5bb-5ec39f6eba8d +VITE_B2C_AUTHORITY=https://adb2codmsstg.b2clogin.com/adb2codmsstg.onmicrosoft.com/b2c_1_signin_stg +VITE_B2C_KNOWNAUTHORITIES=adb2codmsstg.b2clogin.com