staging.rb
607 Bytes
set :application, 'tenzing-web-2023-staging'
set :stage, :staging
set :branch, :staging
# Simple Role Syntax
# ==================
role :web, %w{tenzing_www@web-1}
# you can set custom ssh options
# it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options
# you can see them in [net/ssh documentation](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start)
# set it globally
# set :ssh_options, {
# keys: %w(~/.ssh/id_rsa),
# forward_agent: false,
# auth_methods: %w(password)
# }
fetch(:default_env).merge!(wp_env: :staging)