From 58824f1486294f49345791fad203f4971bd89cba Mon Sep 17 00:00:00 2001 From: Tomasz Magulski Date: Wed, 5 Oct 2022 13:02:53 +0200 Subject: [PATCH] Expose marketplace in Dashboard builds (#2108) * Expose marketplace in Dashboard builds * Use apps.saleor.io domain instead of one provided by Vercel --- .github/workflows/deploy-cloud.yaml | 1 + .github/workflows/deploy-demo-staging.yaml | 1 + .github/workflows/deploy-demo.yaml | 1 + .github/workflows/deploy-master-staging.yaml | 2 +- .github/workflows/deploy-staging.yaml | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-cloud.yaml b/.github/workflows/deploy-cloud.yaml index 657869165..85cd4a4a1 100644 --- a/.github/workflows/deploy-cloud.yaml +++ b/.github/workflows/deploy-cloud.yaml @@ -17,6 +17,7 @@ jobs: REGION: ${{ github.event.client_payload.region }} SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + MARKETPLACE_URL: "https://apps.saleor.io/" IS_CLOUD_INSTANCE: true steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/deploy-demo-staging.yaml b/.github/workflows/deploy-demo-staging.yaml index 006bc2282..8d240a42c 100644 --- a/.github/workflows/deploy-demo-staging.yaml +++ b/.github/workflows/deploy-demo-staging.yaml @@ -20,6 +20,7 @@ jobs: SENTRY_URL_PREFIX: "~/dashboard/static" SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + MARKETPLACE_URL: "https://apps.saleor.io/" ENVIRONMENT: demo-staging DEMO_MODE: true steps: diff --git a/.github/workflows/deploy-demo.yaml b/.github/workflows/deploy-demo.yaml index 13aa507ce..aeaf09654 100644 --- a/.github/workflows/deploy-demo.yaml +++ b/.github/workflows/deploy-demo.yaml @@ -15,6 +15,7 @@ jobs: SENTRY_URL_PREFIX: "~/dashboard/static" SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + MARKETPLACE_URL: "https://apps.saleor.io/" ENVIRONMENT: demo DEMO_MODE: true steps: diff --git a/.github/workflows/deploy-master-staging.yaml b/.github/workflows/deploy-master-staging.yaml index 77ed23bc7..190b5e104 100644 --- a/.github/workflows/deploy-master-staging.yaml +++ b/.github/workflows/deploy-master-staging.yaml @@ -10,7 +10,6 @@ jobs: runs-on: ubuntu-20.04 env: API_URI: /graphql/ - MARKETPLACE_URL: "https://marketplace-gray.vercel.app/" APP_MOUNT_URI: /dashboard/ STATIC_URL: /dashboard/static/ SENTRY_ORG: saleor @@ -18,6 +17,7 @@ jobs: SENTRY_URL_PREFIX: "~/dashboard/static" SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + MARKETPLACE_URL: "https://apps.saleor.io/" ENVIRONMENT: saleor-master-staging IS_CLOUD_INSTANCE: true steps: diff --git a/.github/workflows/deploy-staging.yaml b/.github/workflows/deploy-staging.yaml index 34f6300f8..f3a104ff9 100644 --- a/.github/workflows/deploy-staging.yaml +++ b/.github/workflows/deploy-staging.yaml @@ -22,6 +22,7 @@ jobs: SENTRY_URL_PREFIX: "~/dashboard/static" SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + MARKETPLACE_URL: "https://apps.saleor.io/" VERSION: ${{ github.event.inputs.git_ref || github.ref_name }} IS_CLOUD_INSTANCE: true steps: