From 6f6dfcebf0fa949adbe732aa412fc9610529e533 Mon Sep 17 00:00:00 2001 From: tkostuch Date: Tue, 26 May 2020 11:33:09 +0200 Subject: [PATCH] build config for cloud in build step --- .github/workflows/deploy-storefrontcloud.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-storefrontcloud.yml b/.github/workflows/deploy-storefrontcloud.yml index 67159a13a6..7350476189 100644 --- a/.github/workflows/deploy-storefrontcloud.yml +++ b/.github/workflows/deploy-storefrontcloud.yml @@ -15,6 +15,11 @@ jobs: uses: actions/setup-node@v1 with: node-version: "10.x" + - name: Create config file + run: | + echo '{"server":{"useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true},"api":{"url":"https://demo.storefrontcloud.io"}}' > config/local-cloud-demo.json + echo '{"server":{"useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true},"api":{"url":"https://demo.storefrontcloud.io"}}' > config/local-cloud-next.json + echo '{"server":{"useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true},"api":{"url":"https://test.storefrontcloud.io"}}' > config/local-cloud-test.json - name: Build and publish docker image uses: elgohr/Publish-Docker-Github-Action@master with: @@ -36,11 +41,6 @@ jobs: target_url: https://demo.storefrontcloud.io environment: production initial_status: in_progress - - name: Create config file - run: | - echo '{"server":{"useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true},"api":{"url":"https://demo.storefrontcloud.io"}}' > config/local-cloud-demo.json - echo '{"server":{"useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true},"api":{"url":"https://demo.storefrontcloud.io"}}' > config/local-cloud-next.json - echo '{"server":{"useOutputCacheTagging":true,"useOutputCache":true,"dynamicConfigReload":true},"api":{"url":"https://test.storefrontcloud.io"}}' > config/local-cloud-test.json - name: Deploy on demo.storefrontcloud.io if: github.ref == 'refs/heads/master' run: |