-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbd7b53
commit 90caca5
Showing
5 changed files
with
30 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
namespace :deploy do | ||
namespace :deployment do | ||
namespace :build do | ||
desc 'build assets for deployment (including frontend code)' | ||
desc 'Build assets for deployment (including frontend code)' | ||
task assets: %i[assets:precompile frontend:build] | ||
|
||
task all: %i[deploy:build:assets docker:image] | ||
task all: %i[deploy:build:assets docker:image:build] | ||
end | ||
|
||
task build: %i[deploy:build:all] | ||
end | ||
desc 'Perform a complete build of the system as a Docker image' | ||
task build: %i[deployment:build:all] | ||
|
||
desc 'Push image to container registry' | ||
task push: %i[docker:image:push] | ||
end |
This file contains 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
This file contains 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