Step 1: Update Site Configuration

  1. Add sites-config folder.
  2. Add a ci_config.json file to your sites-config folder:

    ci_config.json

     {
    "artifactStructure": {
        "assets": [
          {
            "root": "desktop"
                
          }
        ]
    },
    "base_image_tag": "node-12.18",
    "buildArtifacts": {
        "build_setup_cmd": "./ci/build_setup.sh",
        "build_cmd": "./ci/build.sh"
    },
    "dependencies": {
        "installDepsCmd": "./ci/install_deps.sh",
        "requiredFiles": [
            "package.json",
            "package-lock.json",
            "ci/install_deps.sh"
        ]
    },
    "livePreview": {
        "serve_setup_cmd": "./ci/serve_setup.sh",
        "serve_cmd": "./ci/serve.sh"
    }
     }
  3. Delete config.json from the root of your repository. In some cases, your config may instead be called config.[domain name].json.