Skip to content

Commit

Permalink
feat: allow deployment to be performed in two steps
Browse files Browse the repository at this point in the history
Adds two commands, deploy:prepare and deploy:complete, to be able to deploy an application in two steps when server configuration needs to before activating the application.
  • Loading branch information
xel1045 authored Feb 8, 2023
1 parent b5cd4e1 commit 2f4ad22
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Envoy.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
@endtask

@macro('deploy')
{{-- deploy:prepare --}}
assert:commit
deploy:starting
deploy:check
Expand All @@ -52,6 +53,39 @@
deploy:building
deploy:build
deploy:built

{{-- deploy:complete --}}
deploy:publishing
deploy:symlink
deploy:publish
deploy:cronjobs
deploy:published
deploy:finishing
deploy:cleanup
deploy:finished
@endmacro

@macro('deploy:prepare')
assert:commit
deploy:starting
deploy:check
deploy:backup
deploy:started
deploy:provisioning
deploy:fetch
deploy:release
deploy:git
deploy:link
deploy:copy
deploy:composer
deploy:npm
deploy:provisioned
deploy:building
deploy:build
deploy:built
@endmacro

@macro('deploy:complete')
deploy:publishing
deploy:symlink
deploy:publish
Expand Down

0 comments on commit 2f4ad22

Please sign in to comment.