Skip to content

Commit 9f8ee64

Browse files
generate docs
1 parent da9bc25 commit 9f8ee64

1 file changed

Lines changed: 44 additions & 44 deletions

File tree

docs/recipe/magento2.md

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ The value of this configuration is autogenerated on access.
349349

350350

351351
### database_upgrade_needed
352-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L159)
352+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L158)
353353

354354

355355
:::info Autogenerated
@@ -360,7 +360,7 @@ The value of this configuration is autogenerated on access.
360360

361361

362362
### full_upgrade_needed
363-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L174)
363+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L173)
364364

365365

366366

@@ -372,7 +372,7 @@ return false;
372372

373373

374374
### upgrade_needed
375-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L180)
375+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L179)
376376

377377

378378
:::info Autogenerated
@@ -383,7 +383,7 @@ The value of this configuration is autogenerated on access.
383383

384384

385385
### enable_zerodowntime
386-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L190)
386+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L189)
387387

388388
Deploy without setting maintenance mode if possible
389389

@@ -393,7 +393,7 @@ true
393393

394394

395395
### artifact_file
396-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L425)
396+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L424)
397397

398398
Artifact deployment section
399399
The 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#L428)
407+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L427)
408408

409409
The 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#L432)
417+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L431)
418418

419419
Points to a file with a list of files to exclude from packaging.
420420
The 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#L435)
428+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L434)
429429

430430
If 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#L438)
438+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L437)
439439

440440
Overrides [repository](/docs/recipe/common.md#repository) from `recipe/common.php`.
441441

@@ -447,7 +447,7 @@ null
447447

448448

449449
### artifact_path
450-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L441)
450+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L440)
451451

452452
The 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#L449)
463+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L448)
464464

465465
The 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#L521)
474+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L520)
475475

476476
Array 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#L523)
481+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L522)
482482

483483
Array of shared directories that will be added to the default shared_dirs without overriding
484484

@@ -488,7 +488,7 @@ Array of shared directories that will be added to the default shared_dirs withou
488488
## Tasks
489489

490490
### magento\:compile {#magento-compile}
491-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L200)
491+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L199)
492492

493493
Compiles magento di.
494494

@@ -501,7 +501,7 @@ e.g.
501501

502502

503503
### magento\:deploy\:assets {#magento-deploy-assets}
504-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L226)
504+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L225)
505505

506506
Deploys assets.
507507

@@ -528,95 +528,95 @@ in `app/etc/config.php`, e.g.:
528528

529529

530530
### magento\:deploy\:assets\:adminhtml {#magento-deploy-assets-adminhtml}
531-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L243)
531+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L242)
532532

533533
Deploys assets for backend only.
534534

535535

536536

537537

538538
### magento\:deploy\:assets\:frontend {#magento-deploy-assets-frontend}
539-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L248)
539+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L247)
540540

541541
Deploys assets for frontend only.
542542

543543

544544

545545

546546
### magento\:sync\:content_version {#magento-sync-content_version}
547-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L311)
547+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L310)
548548

549549
Syncs 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#L321)
555+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L320)
556556

557557
Enables 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#L327)
563+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L326)
564564

565565
Disables 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#L333)
571+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L332)
572572

573573
Set 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#L340)
579+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L339)
580580

581581
Config 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#L349)
587+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L348)
588588

589589
Config 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#L363)
595+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L362)
596596

597597
Upgrades magento database.
598598

599599

600600

601601

602602
### magento\:upgrade {#magento-upgrade}
603-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L375)
603+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L374)
604604

605605
Run 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#L384)
611+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L383)
612612

613613
Flushes Magento Cache.
614614

615615

616616

617617

618618
### deploy\:magento {#deploy-magento}
619-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L389)
619+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L388)
620620

621621
Magento2 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#L398)
635+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L397)
636636

637637
Magento2 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#L404)
648+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L403)
649649

650650
Deploys 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#L417)
664+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L416)
665665

666666
Run 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#L460)
677+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L459)
678678

679679
Packages all relevant files in an artifact.
680680

681681
tasks section
682682

683683

684684
### artifact\:upload {#artifact-upload}
685-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L470)
685+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L469)
686686

687687
Uploads 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#L475)
693+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L474)
694694

695695
Extracts 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#L481)
701+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L480)
702702

703703
Clears 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#L486)
709+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L485)
710710

711711
Prepare local artifact build.
712712

713713

714714

715715

716716
### artifact\:build {#artifact-build}
717-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L511)
717+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L510)
718718

719719
Builds 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#L527)
734+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L526)
735735

736736
Adds 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#L542)
742+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L541)
743743

744744
Update 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#L582)
756+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L581)
757757

758758
Cleanup cache id_prefix env files.
759759

760760
After 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#L598)
764+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L597)
765765

766766
Remove 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#L614)
776+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L613)
777777

778778
Install 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#L620)
788+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L619)
789789

790790
Prepares 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#L633)
808+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L632)
809809

810810
Executes 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#L642)
824+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/magento2.php#L641)
825825

826826
Actually releases the artifact deployment.
827827

0 commit comments

Comments
 (0)