Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dasundev/envoy-action
Easily deploy your Laravel app using the automated Envoy task runner.
https://github.com/dasundev/envoy-action
deployment envoy
Last synced: 9 days ago
JSON representation
Easily deploy your Laravel app using the automated Envoy task runner.
- Host: GitHub
- URL: https://github.com/dasundev/envoy-action
- Owner: dasundev
- Created: 2024-05-02T13:10:53.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-17T15:07:31.000Z (6 months ago)
- Last Synced: 2024-10-17T19:19:01.982Z (27 days ago)
- Topics: deployment, envoy
- Language: JavaScript
- Homepage:
- Size: 291 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Envoy Task Runner
Easily deploy your Laravel app using the automated Envoy task runner.
## Introduction
[Laravel Envoy](https://github.com/laravel/envoy) is a tool for executing common tasks you run on your remote servers. Using Blade style syntax, you can easily setup tasks for deployment.## How it Works
While Envoy is typically used locally, converting it to a GitHub action streamlines the deployment process. This GitHub action executes your Envoy script, requiring only the story name and SSH configuration. Simply set up this action in your workflow, and it will handle the deployment for you.## Usage
> [!IMPORTANT]
> Ensure Laravel Envoy is installed and configured in your project before proceeding.```yaml
name: CIon:
push:
branches:
- mainjobs:
deploy:
runs-on: ubuntu-lateststeps:
- name: Checkout
uses: actions/checkout@v4- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2
coverage: xdebug- uses: LuisEnMarroquin/[email protected]
with:
ORIGIN: ${{ secrets.ENVOY_HOST }}
SSHKEY: ${{ secrets.ENVOY_SSH }}
PORT: ${{ secrets.ENVOY_PORT }}
USER: ${{ secrets.ENVOY_USER }}- name: Run Laravel Envoy
uses: dasundev/envoy-action@beta
with:
story: deploy
```