diff --git a/.github/workflows/deploy-bw3.yml b/.github/workflows/deploy-bw3.yml index 65bb415..78ab8c3 100644 --- a/.github/workflows/deploy-bw3.yml +++ b/.github/workflows/deploy-bw3.yml @@ -9,9 +9,9 @@ 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_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 }} secrets: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/deploy-dexi.yml b/.github/workflows/deploy-dexi.yml index db41ddd..0446c72 100644 --- a/.github/workflows/deploy-dexi.yml +++ b/.github/workflows/deploy-dexi.yml @@ -9,9 +9,9 @@ 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_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 }} secrets: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/deploy-eld.yml b/.github/workflows/deploy-eld.yml index 55baa58..2f55112 100644 --- a/.github/workflows/deploy-eld.yml +++ b/.github/workflows/deploy-eld.yml @@ -9,9 +9,9 @@ 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_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 }} secrets: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/deploy-tw.yml b/.github/workflows/deploy-tw.yml index efa1e3e..3b467f7 100644 --- a/.github/workflows/deploy-tw.yml +++ b/.github/workflows/deploy-tw.yml @@ -9,9 +9,9 @@ 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_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 }} secrets: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/deploy-tw2.yml b/.github/workflows/deploy-tw2.yml index f4e8e7f..b597e7d 100644 --- a/.github/workflows/deploy-tw2.yml +++ b/.github/workflows/deploy-tw2.yml @@ -9,9 +9,9 @@ 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_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 }} secrets: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/production-dapp-deployment.yml b/.github/workflows/production-dapp-deployment.yml index 68cac2b..e3c4057 100644 --- a/.github/workflows/production-dapp-deployment.yml +++ b/.github/workflows/production-dapp-deployment.yml @@ -15,10 +15,13 @@ on: secrets: VERCEL_ORG_ID: required: true + type: string VERCEL_TOKEN: required: true + type: string NEXT_PUBLIC_BASE_URL: required: true + type: string jobs: deploy: