Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
RadhepS committed Aug 4, 2024
1 parent 1bbc169 commit c413d93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
run: |
function setup_config_dir() {
[ -d "${CONFIG_DIR}" ] || mkdir -p "${CONFIG_DIR}"
rm -f "${CONFIG_DIR}/config.sh"
cp "${CONFIG_DIR}/config.default.sh" "${CONFIG_DIR}/config.sh"
ls -la "${CONFIG_DIR}"
}
function update_config() {
Expand All @@ -41,7 +39,7 @@ jobs:
elif [ "${site_type}" == "b2b" ]; then
sed -i 's/^BASE_SITE=.*/BASE_SITE="powertools-spa"/' "${CONFIG_DIR}/config.sh"
sed -i 's/^SSR_APP_NAME=.*/SSR_APP_NAME="b2bspastore"/' "${CONFIG_DIR}/config.sh"
sed -i '/ADD_B2B_LIBS/c\ADD_B2B_LIBS=true' "${config_dir}/config.sh"
sed -i '/ADD_B2B_LIBS/c\ADD_B2B_LIBS=true' "${CONFIG_DIR}}/config.sh"
else
echo "Invalid site type. BASE_SITE and SSR_APP_NAME not set."
fi
Expand Down

0 comments on commit c413d93

Please sign in to comment.