Skip to content

Commit

Permalink
Merge pull request #1042 from sul-dlss/cbeer-patch-1
Browse files Browse the repository at this point in the history
Deploy the branch from the env variable
  • Loading branch information
thatbudakguy authored Jun 5, 2024
2 parents b0045ff + 67accec commit effa351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Default branch is :master so we need to update to main
if ENV['DEPLOY']
set :branch, 'main'
set :branch, ENV.fetch('BRANCH', 'main')
else
ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }.call
end
Expand Down

0 comments on commit effa351

Please sign in to comment.