Skip to content

Commit

Permalink
Update shell script.
Browse files Browse the repository at this point in the history
  • Loading branch information
vishalkhode1 committed Nov 29, 2024
1 parent 88eb613 commit 97be960
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deployment.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,13 @@ jobs:
)
}' composer.json ${GITHUB_WORKSPACE}/composer.json > temp_composer.json
jq '.extra."drupal-scaffold"."file-mapping" = {}' temp_composer.json > temp_composer.json
jq '.extra."drupal-scaffold"."file-mapping" |= del(
.["[web-root]/themes/contrib/cohesion-theme/templates/maintenance-page.html.twig"],
.["[web-root]/sites/default/default.settings.php"]
)' temp_composer.json > updated_composer.json
# Replace the original composer.json with the merged file.
mv temp_composer.json composer.json
mv updated_composer.json composer.json
# Pinning the drupal core dependencies to specific Drupal Core version.
composer require drupal/core:${CORE_VERSION} drupal/core-recommended:${CORE_VERSION} drupal/core-composer-scaffold:${CORE_VERSION} --no-update --no-install
Expand Down

0 comments on commit 97be960

Please sign in to comment.