site.yml

#
# A minimalist Drush site alias file.
# See https://www.drush.org/latest/site-aliases/ for lots more documentation.
#
# File: self.site.yml
live:
  host: www.domain.com
  user: www-admin
  root: /other/path/to/drupal
  uri: http://www.example.com
  ssh:
    options: '-p 100'
  paths:
    drush-script: '/path/to/drush'
  env-vars:
    PATH: /bin:/usr/bin:/home/www-admin/.composer/vendor/bin
    DRUPAL_ENV: live
  command:
    site:
      install:
        options:
          admin-password: 'secret-secret'
stage:
  host: stage.domain.com
  user: www-admin
  root: /other/path/to/drupal
  uri: http://stage.example.com

Last update: October 3, 2021