@@ -462,19 +462,19 @@ details from this configuration to connect to the remote host.
462462#### Behavior
463463
464464* Checks if the remote working directory is **clean**:
465- - If not, the process is aborted, and you will be prompted to run `syncops:project-pull`.
465+ - If not, the process is aborted, and you will be prompted to run `syncops:project-pull`.
466466* Two deployment modes are supported:
467- - **Full deploy (default)**: Puts the app in maintenance mode, clears caches,
467+ - **Full deploy (default)**: Puts the app in maintenance mode, clears caches,
468468 updates via Git, rebuilds caches, and brings the app back up.
469- - **Fast deploy (`--fast`)**: Skips cache clearing/rebuilding, updates via Git directly.
469+ - **Fast deploy (`--fast`)**: Skips cache clearing/rebuilding, updates via Git directly.
470470* **Deployment strategies**:
471- - **Pull mode** (`branch_main` set to `false` in config): Runs `git pull`.
472- - **Merge mode** (`branch_main` set to a branch name): Runs `git fetch` and `git merge origin/{branch}`.
473- - If `branch` or `branch_prod` is configured, the remote branch is pushed back to origin after a successful merge.
471+ - **Pull mode** (`branch_main` set to `false` in config): Runs `git pull`.
472+ - **Merge mode** (`branch_main` set to a branch name): Runs `git fetch` and `git merge origin/{branch}`.
473+ - If `branch` or `branch_prod` is configured, the remote branch is pushed back to origin after a successful merge.
474474* **Post-deploy steps**:
475- - Runs Composer install (with `--no-dev` option) if `--composer` is specified or if `composer.lock` changed.
476- - Runs migrations if `--migrate` is specified.
477- - Adjusts file/folder ownership according to `permissions` config.
475+ - Runs Composer install (with `--no-dev` option) if `--composer` is specified or if `composer.lock` changed.
476+ - Runs migrations if `--migrate` is specified.
477+ - Adjusts file/folder ownership according to `permissions` config.
478478
479479---
480480
@@ -487,10 +487,10 @@ made in the backend (pages, layouts, etc.) are saved as static `.htm` files.
487487
488488This command performs the following actions:
489489
490- 1. Checks for and commits any untracked changes on the remote server.
491- 2. **Optionally** executes a `git pull` on the remote to ensure it' s up-to-date before pushing.
492- 3. Pushes the committed changes from the remote server to your Git repository.
493- 4. ** Optionally** fetches the changes and merges them into your current local branch.
490+ 1. Checks for and commits any untracked changes on the remote server.
491+ 2. **Optionally** executes a `git pull` on the remote to ensure it' s up-to-date before pushing.
492+ 3. Pushes the committed changes from the remote server to your Git repository.
493+ 4. ** Optionally** fetches the changes and merges them into your current local branch.
494494
495495This streamlined workflow ensures you can quickly and safely retrieve and integrate content updates made directly
496496on your production site, without manual intervention.
@@ -509,13 +509,13 @@ Before using this command, ensure your remote servers are properly configured in
509509Laravel application' s `config/syncops.php` file. The command will use the SSH connection
510510details from this configuration to connect to the remote host.
511511
512- ### Arguments
512+ #### Arguments
513513
514514| Argument | Description |
515515|----------|--------------------------------------------------------------------------------------------------------------------------------------|
516516| `server` | The name of the remote server (as defined in `config/syncops.php`).<br>Example: `php artisan syncops:project-pull production --pull` |
517517
518- ### Options
518+ #### Options
519519
520520| Option | Description |
521521|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -557,7 +557,7 @@ php artisan syncops:project-push [options]
557557
558558By default, this will commit with the message **"Server changes"** and push them to your configured remote.
559559
560- ### Options
560+ #### Options
561561
562562| Option | Description |
563563|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -573,7 +573,7 @@ The recommended entries for the Scheduler are as follows:
573573- create a backup of the database every day at 3 am and push it to a cloud
574574- commit changes from the production environment every day at 4 am
575575
576- ```
576+ ```php
577577$schedule->command(' syncops:project-backup dropbox --folder=files' )->weeklyOn(1, ' 01:00' );
578578$schedule->command(' syncops:db-push dropbox --folder=database' )->daily()->at(' 02:00' );
579579$schedule->command(' syncops:media-push dropbox')->daily ()-> at(' 03:00' );
@@ -584,36 +584,42 @@ $schedule->command('syncops:project-push')->daily()->at('04:00');
584584
585585# # Dropbox setup
586586
587- Dropbox is very easy to configure and upon the registration on https://www.dropbox.com/register
587+ Dropbox is very easy to configure and upon the registration on [Dropbox website]( https://www.dropbox.com/register)
588588it offers free 2GB of cloud storage space.
589589In order to setup the Dropbox, complete the registration, add the
590590[NumenCode Dropbox Adapter Plugin](https://packagist.org/packages/numencode/wn-dropboxadapter-plugin)
591591and follow the [Installation steps here](https://github.com/numencode/wn-dropboxadapter-plugin/blob/main/README.md).
592592
593593---
594594
595- # Changelog
595+ # # Changelog
596+
597+ All notable changes are documented in the [CHANGELOG](CHANGELOG.md).
598+
599+ ---
600+
601+ # # Contributing
596602
597- Please see [CHANGELOG](CHANGELOG .md) for more information on what has changed recently .
603+ Please refer to the [CONTRIBUTING](CONTRIBUTING .md) guide for details on contributing to this project .
598604
599- # Contributing
605+ ---
600606
601- Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
607+ # # Security
602608
603- # Security
609+ If you identify any security issues, email info@numencode.com rather than using the issue tracker.
604610
605- If you discover any security-related issues, please email info@numencode.com instead of using the issue tracker.
611+ ---
606612
607- # Author
613+ # # Author
608614
609- ** NumenCode.SyncOps** plugin was created by and is maintained by [Blaz Orazem](https://www. orazem.si/).
615+ The ** NumenCode.SyncOps** plugin is created and maintained by [Blaz Orazem](https://orazem.si/).
610616
611- Please write an email to info@numencode.com about all the things concerning this project.
617+ For inquiries, contact: info@numencode.com
612618
613- Follow [@blazorazem](https://twitter.com/blazorazem) on Twitter.
619+ ---
614620
615- # License
621+ # # License
616622
617623This project is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
618624
619- [! [MIT License](https://img.shields.io/github/license/numencode/wn-syncops-plugin? label=License & color=blue & style=flat-square& cacheSeconds=600 )](https://github.com/numencode/wn-syncops-plugin/blob/main/LICENSE.md)
625+ [! [License](https://img.shields.io/github/license/numencode/wn-syncops-plugin? style=flat-square& color=0099FF )](https://github.com/numencode/wn-syncops-plugin/blob/main/LICENSE.md)
0 commit comments