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 54b9b1d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deployment.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,17 @@ 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
cat composer.json
exit 0
# Install all dependencies.
composer install
env:
Expand Down

0 comments on commit 54b9b1d

Please sign in to comment.