From 329394542084f37c969e88bc5288e0a152bc4683 Mon Sep 17 00:00:00 2001 From: RanGojo Date: Wed, 2 Oct 2024 06:12:04 +0000 Subject: [PATCH] fix bug --- .github/workflows/deploy-bw3.yml | 12 ++++++------ .github/workflows/deploy-dexi.yml | 18 ++++++++++++------ .github/workflows/deploy-eld.yml | 18 ++++++++++++------ .github/workflows/deploy-tw.yml | 18 ++++++++++++------ .github/workflows/deploy-tw2.yml | 18 ++++++++++++------ 5 files changed, 54 insertions(+), 30 deletions(-) diff --git a/.github/workflows/deploy-bw3.yml b/.github/workflows/deploy-bw3.yml index 0504701..66f9bdd 100644 --- a/.github/workflows/deploy-bw3.yml +++ b/.github/workflows/deploy-bw3.yml @@ -9,12 +9,12 @@ jobs: deploy: uses: ./.github/workflows/production-dapp-deployment.yml with: - vercel_project_id: ${{ secrets.VERCEL_DAPP_BW3_EXPLORER_PROJECT_ID }} - next_public_api_key: ${{ secrets.NEXT_DAPP_BW3_EXPLORER_PUBLIC_API_KEY }} - next_public_secret_key: ${{ secrets.NEXT_DAPP_BW3_EXPLORER_PUBLIC_SECRET_KEY }} - vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} - vercel_token: ${{ secrets.VERCEL_TOKEN }} - next_public_base_url: ${{ secrets.NEXT_PUBLIC_BASE_URL }} + vercel_project_id: ${{ inputs.VERCEL_DAPP_BW3_EXPLORER_PROJECT_ID }} + next_public_api_key: ${{ inputs.NEXT_DAPP_BW3_EXPLORER_PUBLIC_API_KEY }} + next_public_secret_key: ${{ inputs.NEXT_DAPP_BW3_EXPLORER_PUBLIC_SECRET_KEY }} + vercel_org_id: ${{ inputs.VERCEL_ORG_ID }} + vercel_token: ${{ inputs.VERCEL_TOKEN }} + next_public_base_url: ${{ inputs.NEXT_PUBLIC_BASE_URL }} env: VERCEL_ORG_ID: ${{ inputs.vercel_org_id }} diff --git a/.github/workflows/deploy-dexi.yml b/.github/workflows/deploy-dexi.yml index 6218232..b0d56de 100644 --- a/.github/workflows/deploy-dexi.yml +++ b/.github/workflows/deploy-dexi.yml @@ -9,9 +9,15 @@ jobs: deploy: uses: ./.github/workflows/production-dapp-deployment.yml with: - vercel_project_id: ${{ secrets.VERCEL_DAPP_DEXI_EXPLORER_PROJECT_ID }} - next_public_api_key: ${{ secrets.NEXT_DAPP_DEXI_EXPLORER_PUBLIC_API_KEY }} - next_public_secret_key: ${{ secrets.NEXT_DAPP_DEXI_EXPLORER_PUBLIC_SECRET_KEY }} - vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} - vercel_token: ${{ secrets.VERCEL_TOKEN }} - next_public_base_url: ${{ secrets.NEXT_PUBLIC_BASE_URL }} + vercel_project_id: ${{ inputs.VERCEL_DAPP_DEXI_EXPLORER_PROJECT_ID }} + next_public_api_key: ${{ inputs.NEXT_DAPP_DEXI_EXPLORER_PUBLIC_API_KEY }} + next_public_secret_key: ${{ inputs.NEXT_DAPP_DEXI_EXPLORER_PUBLIC_SECRET_KEY }} + vercel_org_id: ${{ inputs.VERCEL_ORG_ID }} + vercel_token: ${{ inputs.VERCEL_TOKEN }} + next_public_base_url: ${{ inputs.NEXT_PUBLIC_BASE_URL }} + +env: + VERCEL_ORG_ID: ${{ inputs.vercel_org_id }} + VERCEL_PROJECT_ID: ${{ inputs.vercel_project_id }} + VERCEL_TOKEN: ${{ inputs.vercel_org_id }} + NEXT_PUBLIC_BASE_URL: ${{ inputs.next_public_base_url }} \ No newline at end of file diff --git a/.github/workflows/deploy-eld.yml b/.github/workflows/deploy-eld.yml index f0f5e8b..f8b3f7a 100644 --- a/.github/workflows/deploy-eld.yml +++ b/.github/workflows/deploy-eld.yml @@ -9,9 +9,15 @@ jobs: deploy: uses: ./.github/workflows/production-dapp-deployment.yml with: - vercel_project_id: ${{ secrets.VERCEL_DAPP_ELD_EXPLORER_PROJECT_ID }} - next_public_api_key: ${{ secrets.NEXT_DAPP_ELD_EXPLORER_PUBLIC_API_KEY }} - next_public_secret_key: ${{ secrets.NEXT_DAPP_ELD_EXPLORER_PUBLIC_SECRET_KEY }} - vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} - vercel_token: ${{ secrets.VERCEL_TOKEN }} - next_public_base_url: ${{ secrets.NEXT_PUBLIC_BASE_URL }} + vercel_project_id: ${{ inputs.VERCEL_DAPP_ELD_EXPLORER_PROJECT_ID }} + next_public_api_key: ${{ inputs.NEXT_DAPP_ELD_EXPLORER_PUBLIC_API_KEY }} + next_public_secret_key: ${{ inputs.NEXT_DAPP_ELD_EXPLORER_PUBLIC_SECRET_KEY }} + vercel_org_id: ${{ inputs.VERCEL_ORG_ID }} + vercel_token: ${{ inputs.VERCEL_TOKEN }} + next_public_base_url: ${{ inputs.NEXT_PUBLIC_BASE_URL }} + +env: + VERCEL_ORG_ID: ${{ inputs.vercel_org_id }} + VERCEL_PROJECT_ID: ${{ inputs.vercel_project_id }} + VERCEL_TOKEN: ${{ inputs.vercel_org_id }} + NEXT_PUBLIC_BASE_URL: ${{ inputs.next_public_base_url }} \ No newline at end of file diff --git a/.github/workflows/deploy-tw.yml b/.github/workflows/deploy-tw.yml index 8cbc502..56e84f9 100644 --- a/.github/workflows/deploy-tw.yml +++ b/.github/workflows/deploy-tw.yml @@ -9,9 +9,15 @@ jobs: deploy: uses: ./.github/workflows/production-dapp-deployment.yml with: - vercel_project_id: ${{ secrets.VERCEL_DAPP_EXPLORER_PROJECT_ID }} - next_public_api_key: ${{ secrets.NEXT_DAPP_EXPLORER_PUBLIC_API_KEY }} - next_public_secret_key: ${{ secrets.NEXT_DAPP_EXPLORER_PUBLIC_SECRET_KEY }} - vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} - vercel_token: ${{ secrets.VERCEL_TOKEN }} - next_public_base_url: ${{ secrets.NEXT_PUBLIC_BASE_URL }} + vercel_project_id: ${{ inputs.VERCEL_DAPP_EXPLORER_PROJECT_ID }} + next_public_api_key: ${{ inputs.NEXT_DAPP_EXPLORER_PUBLIC_API_KEY }} + next_public_secret_key: ${{ inputs.NEXT_DAPP_EXPLORER_PUBLIC_SECRET_KEY }} + vercel_org_id: ${{ inputs.VERCEL_ORG_ID }} + vercel_token: ${{ inputs.VERCEL_TOKEN }} + next_public_base_url: ${{ inputs.NEXT_PUBLIC_BASE_URL }} + +env: + VERCEL_ORG_ID: ${{ inputs.vercel_org_id }} + VERCEL_PROJECT_ID: ${{ inputs.vercel_project_id }} + VERCEL_TOKEN: ${{ inputs.vercel_org_id }} + NEXT_PUBLIC_BASE_URL: ${{ inputs.next_public_base_url }} \ No newline at end of file diff --git a/.github/workflows/deploy-tw2.yml b/.github/workflows/deploy-tw2.yml index b84a0b5..6896e0b 100644 --- a/.github/workflows/deploy-tw2.yml +++ b/.github/workflows/deploy-tw2.yml @@ -9,9 +9,15 @@ jobs: deploy: uses: ./.github/workflows/production-dapp-deployment.yml with: - vercel_project_id: ${{ secrets.VERCEL_DAPP_TW2_EXPLORER_PROJECT_ID }} - next_public_api_key: ${{ secrets.NEXT_DAPP_TW2_EXPLORER_PUBLIC_API_KEY }} - next_public_secret_key: ${{ secrets.NEXT_DAPP_TW2_EXPLORER_PUBLIC_SECRET_KEY }} - vercel_org_id: ${{ secrets.VERCEL_ORG_ID }} - vercel_token: ${{ secrets.VERCEL_TOKEN }} - next_public_base_url: ${{ secrets.NEXT_PUBLIC_BASE_URL }} + vercel_project_id: ${{ inputs.VERCEL_DAPP_TW2_EXPLORER_PROJECT_ID }} + next_public_api_key: ${{ inputs.NEXT_DAPP_TW2_EXPLORER_PUBLIC_API_KEY }} + next_public_secret_key: ${{ inputs.NEXT_DAPP_TW2_EXPLORER_PUBLIC_SECRET_KEY }} + vercel_org_id: ${{ inputs.VERCEL_ORG_ID }} + vercel_token: ${{ inputs.VERCEL_TOKEN }} + next_public_base_url: ${{ inputs.NEXT_PUBLIC_BASE_URL }} + +env: + VERCEL_ORG_ID: ${{ inputs.vercel_org_id }} + VERCEL_PROJECT_ID: ${{ inputs.vercel_project_id }} + VERCEL_TOKEN: ${{ inputs.vercel_org_id }} + NEXT_PUBLIC_BASE_URL: ${{ inputs.next_public_base_url }}