Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
if [ -z "$browser" ]; then
echo "Usage: ./ <browser>"
exit 1
set -euo pipefail
# Copy the right files
cp "Dockerfile-${browser}" Dockerfile
cp "now.json-${browser}" now.json
# Deploy the app
now -e BROWSER_TYPE="${browser}"
# Use the right alias
now alias "happo-${browser}"
ts=$(date +"%Y-%m-%d-%H-%M")
git tag "release-${browser}-${ts}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment