PHPackages                             aonach/ghactions-deploy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. aonach/ghactions-deploy

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

aonach/ghactions-deploy
=======================

Deploy to servers via Github Actions + Deployer

v1.3.0(4y ago)424.0k↓23.8%[1 PRs](https://github.com/aonach/ghactions-deploy/pulls)PHP

Since Oct 30Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/aonach/ghactions-deploy)[ Packagist](https://packagist.org/packages/aonach/ghactions-deploy)[ RSS](/packages/aonach-ghactions-deploy/feed)WikiDiscussions php8 Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (28)Used By (0)

Deploy via Github Actions and Deployer
======================================

[](#deploy-via-github-actions-and-deployer)

The repository contains [Deployer](https://deployer.org) configuration for Magento2 and example of [Github Actions](https://help.github.com/en/github/automating-your-workflow-with-github-actions) workflow. The workflow creates events on push into dev/test/master branches and initiate a deployment process to dev/test/master servers, correspondingly.

You need to follow this simple steps to integrate in your project:

1. Copy *deploy.yml* from the repo to *.github/workflow* folder
2. Copy *hosts.yml* to root folder and fill the file with your data
3. Copy *deploy.php* to root folder if you want to override some tasks
4. Create required *DEPLOY\_KEY* secret in the settings on your repository, it will be used for connect to servers
5. Prepare shared folder on your servers:

- copy *app/etc/env.php* from current document root to *\#deploy\_path#/shared/app/etc/env.php*
- copy all media files from *pub/media* to *\#deploy\_path#/shared/pub/media*

6. Be sure all deployment steps are going right on servers (take care about composer/ssh keys)
7. Push a commit to dev/test/master branch!

Configuration
-------------

[](#configuration)

### Git LFS

[](#git-lfs)

By default, Git LFS files are skipped during deployment (`skip_lfs: true`). This prevents large LFS objects (e.g., local database backups) from being downloaded to servers, saving both deployment time and disk space.

To disable this, set `skip_lfs: false` in your *hosts.yml*:

```
production:
  hostname: prod-server
  remote_user: deploy
  skip_lfs: false
```

**Note:** The `skip_lfs` option uses `set('env', ...)` to configure the `GIT_LFS_SKIP_SMUDGE` environment variable. If your project needs additional environment variables, add them inside the same closure in *deploy.php* rather than calling `set('env', ...)` separately, which would overwrite the LFS setting.

Related links:
--------------

[](#related-links)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance53

Moderate activity, may be stable

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~45 days

Recently: every ~176 days

Total

17

Last Release

1674d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12e8ba472efdb1825a0734281d1bd3922ab50a8864738302136fd5164e8e8192?d=identicon)[developers-aonach](/maintainers/developers-aonach)

---

Top Contributors

[![joesken](https://avatars.githubusercontent.com/u/19315012?v=4)](https://github.com/joesken "joesken (53 commits)")[![elevinskii](https://avatars.githubusercontent.com/u/28786669?v=4)](https://github.com/elevinskii "elevinskii (33 commits)")[![elevinskii-aonach](https://avatars.githubusercontent.com/u/54027348?v=4)](https://github.com/elevinskii-aonach "elevinskii-aonach (20 commits)")[![enriquetarazona](https://avatars.githubusercontent.com/u/11299022?v=4)](https://github.com/enriquetarazona "enriquetarazona (11 commits)")[![AaronONeill](https://avatars.githubusercontent.com/u/5518296?v=4)](https://github.com/AaronONeill "AaronONeill (7 commits)")

---

Tags

automationdeployerdeploymentgithub-actions

### Embed Badge

![Health badge](/badges/aonach-ghactions-deploy/health.svg)

```
[![Health](https://phpackages.com/badges/aonach-ghactions-deploy/health.svg)](https://phpackages.com/packages/aonach-ghactions-deploy)
```

###  Alternatives

[sourcebroker/deployer-extended

Library with some additional tasks for deployer (deployer.org).

25275.4k9](/packages/sourcebroker-deployer-extended)[ngmy/webloyer

Webloyer is a Web UI for managing Deployer deployments

2181.1k](/packages/ngmy-webloyer)[florianmoser/bedrock-deployer

Deployer recipes for Roots Bedrock

5414.4k1](/packages/florianmoser-bedrock-deployer)[n98/n98-deployer

netz98 deployer tasks, recipes, configuration

2543.6k1](/packages/n98-n98-deployer)[setono/deployer-cron

Use the Setono cron builder to generate cron files in your deployment process

1224.0k](/packages/setono-deployer-cron)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
