Skip to content

Commit

Permalink
ISSUE-204: use ddev if possible
Browse files Browse the repository at this point in the history
  • Loading branch information
beto-aveiga committed Dec 20, 2024
1 parent d77c9bc commit 346b291
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/actions/drainpipe/common/set-env/bash_aliases
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
drainpipe_exec() {
if [ "$DRAINPIPE_DDEV" == "true" ]; then
echo "DDEV EXEC:"
ddev exec "$@"
else
echo "EVAL:"
eval "$@"
fi
}
4 changes: 3 additions & 1 deletion scaffold/github/actions/acquia/deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,14 @@ runs:
drainpipe_exec "echo \"StrictHostKeyChecking no\" >> ~/.ssh/config"
# drainpipe_exec "ssh-keyscan -T 60 -t rsa,ecdsa,ed25519 "$hostname" >> ~/.ssh/known_hosts"
# debug site aliases
ddev drush site:alias
drainpipe_exec "./vendor/bin/drush site:alias"
ddev task drupal:maintenance:on site=@lullabotsandbox.dev
drainpipe_exec "./vendor/bin/task drupal:maintenance:on site=@lullabotsandbox.dev"
shell: bash

Expand Down

0 comments on commit 346b291

Please sign in to comment.