This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# Script to add a custom domain to a preview environment web service. Use it via the buildCommand | |
# | |
# Resultant custom domain added to the service will be: | |
# <servicename>-pr-<number>.prs.mydomain.com | |
# | |
# Setup: | |
# | |
# Add a wildcard DNS entry to your domain, something like *.prs.mydomain.com pointing to 216.57.24.1 |