Skip to content

Commit

Permalink
Issue #601: Fix syntax error in update conditional. (#602)
Browse files Browse the repository at this point in the history
Co-authored-by: David Burns <david@lullabot.com>
  • Loading branch information
quicksketch and mrdavidburns authored Jul 16, 2024
1 parent fd4b1d6 commit 31f0afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scaffold/github/actions/pantheon/review/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ runs:
drainpipe_exec "terminus aliases --only ${{ inputs.site-name }} --yes"
if [ "${{ inputs.run-installer }}" == "true" ]; then
drainpipe_exec "./vendor/bin/drush @${{ inputs.site-name }}.pr-$DRAINPIPE_PR_NUMBER --yes site:install --existing-config"
elif drainpipe_exec "./vendor/bin/task -l | grep '* update: ')"; then
elif drainpipe_exec "./vendor/bin/task -l | grep '* update: '"; then
drainpipe_exec "./vendor/bin/task update site=@${{ inputs.site-name }}.pr-$DRAINPIPE_PR_NUMBER"
else
drainpipe_exec "./vendor/bin/task drupal:update site=@${{ inputs.site-name }}.pr-$DRAINPIPE_PR_NUMBER"
Expand Down
2 changes: 1 addition & 1 deletion scaffold/github/actions/pantheon/update/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
drainpipe_exec "terminus aliases --only ${{ inputs.site-name }} --yes"
if [ "${{ inputs.run-installer }}" == "true" ]; then
drainpipe_exec "./vendor/bin/drush @${{ inputs.site-name }}.${{ inputs.environment }} --yes site:install --existing-config"
elif drainpipe_exec "./vendor/bin/task -l | grep '* update: ')"; then
elif drainpipe_exec "./vendor/bin/task -l | grep '* update: '"; then
drainpipe_exec "./vendor/bin/task update site=@${{ inputs.site-name }}.${{ inputs.environment }}"
else
drainpipe_exec "./vendor/bin/task drupal:update site=@${{ inputs.site-name }}.${{ inputs.environment }}"
Expand Down

0 comments on commit 31f0afc

Please sign in to comment.