Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Add a trigger to update the installed version of composer on vagrant …
Browse files Browse the repository at this point in the history
…up (#68)
  • Loading branch information
becw committed Jan 15, 2020
1 parent c5a5096 commit 1e889a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions conf/vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,11 @@ Vagrant.configure(2) do |config|
}
end

config.trigger.after [:up, :reload] do |trigger|
trigger.name = "Composer self-update"
trigger.run_remote = {
inline: "sudo -H composer self-update"
}
end

end

0 comments on commit 1e889a3

Please sign in to comment.