Hello,
I have a site linked to github, and the build go to root path, this build is OK, but I need a root “/” build and a new build inside it, in a new path like “/new_path”, I am trying add a gitmodule, but I don’t understand if it is correctly or how to init a build of a gitmodule.
My package.json:
{
“name”: “my-themes-engine”,
“version”: “1.0.0”,
“main”: “index.js”,
“license”: “MIT”,
“scripts”: {
“start”: “./node_modules/webpack/bin/webpack.js --watch --progress --color --mode=development --config webpack.config.js”,
“start:dev”: “webpack-dev-server”,
“build:dev”: “./node_modules/webpack/bin/webpack.js --env.development --bail -p --mode=development --config webpack.config.js”,
“build”: “./node_modules/webpack/bin/webpack.js --env.production --bail -p --mode=production --config webpack.config.js”,
“test”: “jest”
},
…
My .gitmodule:
[submodule “new_path”]
path = new_path
url = https://:x-oauth-basic@github.com/autoforce/automaker.git
branch = another-branch
someone has a tip to me?