Conrad Irwinjust kidding (#7241)0897c8e2 years agoHistory
21 lines · 398 B · Text
RawDownload
#!/bin/bash set -eusource script/lib/deploy-helpers.sh if [[ $# != 1 ]]; then  echo "Usage: $0 <production|staging>"  exit 1fienvironment=$1tag="$(tag_for_environment $environment)" branch=$(git rev-parse --abbrev-ref HEAD)if [ "$branch" != "main" ]; then  echo "You must be on main to run this script"  exit 1fi git pull --ff-only origin maingit tag -f $taggit push -f origin $tag

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t