393393
394394
395395# ## artifact_file
396- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L424 )
396+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L422 )
397397
398398Artifact deployment section
399399The file the artifact is saved to
@@ -404,7 +404,7 @@ The file the artifact is saved to
404404
405405
406406# ## artifact_dir
407- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L427 )
407+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L425 )
408408
409409The directory the artifact is saved in
410410
@@ -414,7 +414,7 @@ The directory the artifact is saved in
414414
415415
416416# ## artifact_excludes_file
417- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L431 )
417+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L429 )
418418
419419Points to a file with a list of files to exclude from packaging.
420420The format is as with the `tar --exclude-from=[file]` option
@@ -425,7 +425,7 @@ The format is as with the `tar --exclude-from=[file]` option
425425
426426
427427# ## build_from_repo
428- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L434 )
428+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L432 )
429429
430430If set to true, the artifact is built from a clean copy of the project repository instead of the current working directory
431431
@@ -435,7 +435,7 @@ false
435435
436436
437437# ## repository
438- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L437 )
438+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L435 )
439439
440440Overrides [repository](/docs/recipe/common.md#repository) from `recipe/common.php`.
441441
447447
448448
449449# ## artifact_path
450- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L440 )
450+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L438 )
451451
452452The relative path to the artifact file. If the directory does not exist, it will be created
453453
@@ -460,7 +460,7 @@ return get('artifact_dir') . '/' . get('artifact_file');
460460
461461
462462# ## bin/tar
463- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L448 )
463+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L446 )
464464
465465The location of the tar command. On MacOS you should have installed gtar, as it supports the required settings
466466:::info Autogenerated
@@ -471,14 +471,14 @@ The value of this configuration is autogenerated on access.
471471
472472
473473# ## additional_shared_files
474- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L520 )
474+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L518 )
475475
476476Array of shared files that will be added to the default shared_files without overriding
477477
478478
479479
480480# ## additional_shared_dirs
481- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L522 )
481+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L520 )
482482
483483Array of shared directories that will be added to the default shared_dirs without overriding
484484
@@ -544,79 +544,79 @@ Deploys assets for frontend only.
544544
545545
546546# ## magento\:sync\:content_version {#magento-sync-content_version}
547- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L310 )
547+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L308 )
548548
549549Syncs content version.
550550
551551
552552
553553
554554# ## magento\:maintenance\:enable {#magento-maintenance-enable}
555- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L320 )
555+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L318 )
556556
557557Enables maintenance mode.
558558
559559
560560
561561
562562# ## magento\:maintenance\:disable {#magento-maintenance-disable}
563- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L326 )
563+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L324 )
564564
565565Disables maintenance mode.
566566
567567
568568
569569
570570# ## magento\:maintenance\:enable-if-needed {#magento-maintenance-enable-if-needed}
571- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L332 )
571+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L330 )
572572
573573Set maintenance mode if needed.
574574
575575
576576
577577
578578# ## magento\:config\:import {#magento-config-import}
579- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L339 )
579+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L337 )
580580
581581Config Import.
582582
583583
584584
585585
586586# ## magento\:config\:import\:on-current {#magento-config-import-on-current}
587- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L348 )
587+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L346 )
588588
589589Config Import on current release.
590590
591591
592592
593593
594594# ## magento\:upgrade\:db {#magento-upgrade-db}
595- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L362 )
595+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L360 )
596596
597597Upgrades magento database.
598598
599599
600600
601601
602602# ## magento\:upgrade {#magento-upgrade}
603- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L374 )
603+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L372 )
604604
605605Run upgrades if needed.
606606
607607
608608
609609
610610# ## magento\:cache\:flush {#magento-cache-flush}
611- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L383 )
611+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L381 )
612612
613613Flushes Magento Cache.
614614
615615
616616
617617
618618# ## deploy\:magento {#deploy-magento}
619- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L388 )
619+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L386 )
620620
621621Magento2 deployment operations.
622622
@@ -632,7 +632,7 @@ This task is group task which contains next tasks:
632632
633633
634634# ## magento\:build {#magento-build}
635- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L397 )
635+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L395 )
636636
637637Magento2 build operations.
638638
@@ -645,7 +645,7 @@ This task is group task which contains next tasks:
645645
646646
647647# ## deploy {#deploy}
648- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L403 )
648+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L401 )
649649
650650Deploys your project.
651651
@@ -661,7 +661,7 @@ This task is group task which contains next tasks:
661661
662662
663663# ## deploy\:magento\:failed {#deploy-magento-failed}
664- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L416 )
664+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L414 )
665665
666666Run Magento post-deployment failure tasks.
667667
@@ -674,47 +674,47 @@ This task is group task which contains next tasks:
674674
675675
676676# ## artifact\:package {#artifact-package}
677- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L459 )
677+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L457 )
678678
679679Packages all relevant files in an artifact.
680680
681681tasks section
682682
683683
684684# ## artifact\:upload {#artifact-upload}
685- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L469 )
685+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L467 )
686686
687687Uploads artifact in release folder for extraction.
688688
689689
690690
691691
692692# ## artifact\:extract {#artifact-extract}
693- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L474 )
693+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L472 )
694694
695695Extracts artifact in release path.
696696
697697
698698
699699
700700# ## build\:remove-generated {#build-remove-generated}
701- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L480 )
701+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L478 )
702702
703703Clears generated files prior to building.
704704
705705
706706
707707
708708# ## build\:prepare {#build-prepare}
709- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L485 )
709+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L483 )
710710
711711Prepare local artifact build.
712712
713713
714714
715715
716716# ## artifact\:build {#artifact-build}
717- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L510 )
717+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L508 )
718718
719719Builds an artifact.
720720
@@ -731,15 +731,15 @@ This task is group task which contains next tasks:
731731
732732
733733# ## deploy\:additional-shared {#deploy-additional-shared}
734- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L526 )
734+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L524 )
735735
736736Adds additional files and dirs to the list of shared files and dirs.
737737
738738
739739
740740
741741# ## magento\:set_cache_prefix {#magento-set_cache_prefix}
742- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L541 )
742+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L539 )
743743
744744Update cache id_prefix.
745745
@@ -753,15 +753,15 @@ after('deploy:magento', 'magento:cleanup_cache_prefix');
753753
754754
755755# ## magento\:cleanup_cache_prefix {#magento-cleanup_cache_prefix}
756- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L581 )
756+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L579 )
757757
758758Cleanup cache id_prefix env files.
759759
760760After successful deployment, move the tmp_env.php file to env.php ready for next deployment
761761
762762
763763# ## magento\:cron\:stop {#magento-cron-stop}
764- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L597 )
764+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L595 )
765765
766766Remove cron from crontab and kill running cron jobs.
767767
@@ -773,7 +773,7 @@ To use this feature, add the following to your deployer scripts:
773773
774774
775775# ## magento\:cron\:install {#magento-cron-install}
776- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L613 )
776+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L611 )
777777
778778Install cron in crontab.
779779
@@ -785,7 +785,7 @@ To use this feature, add the following to your deployer scripts:
785785
786786
787787# ## artifact\:prepare {#artifact-prepare}
788- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L619 )
788+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L617 )
789789
790790Prepares an artifact on the target server.
791791
@@ -805,7 +805,7 @@ This task is group task which contains next tasks:
805805
806806
807807# ## artifact\:finish {#artifact-finish}
808- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L632 )
808+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L630 )
809809
810810Executes the tasks after artifact is released.
811811
@@ -821,7 +821,7 @@ This task is group task which contains next tasks:
821821
822822
823823# ## artifact\:deploy {#artifact-deploy}
824- [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L641 )
824+ [Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L639 )
825825
826826Actually releases the artifact deployment.
827827
0 commit comments