https://github.com/ryanito/sync-forge-deploy-script-action
Update your Laravel Forge deploy script from a file under version control
https://github.com/ryanito/sync-forge-deploy-script-action
github-actions laravel laravel-forge
Last synced: 3 months ago
JSON representation
Update your Laravel Forge deploy script from a file under version control
- Host: GitHub
- URL: https://github.com/ryanito/sync-forge-deploy-script-action
- Owner: ryanito
- Created: 2021-11-14T01:36:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T13:15:23.000Z (about 3 years ago)
- Last Synced: 2025-06-10T19:06:35.318Z (11 months ago)
- Topics: github-actions, laravel, laravel-forge
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sync Laravel Forge Deploy Script Action
Updates your deploy script on Laravel Forge from a file within your repository.
## Usage
This action updates your Laravel Forge **Deploy Script** with the contents of a given file.
Remember to check out your repository first.
I keep my deploy script at `.forge/deploy.sh` but this could be anywhere within your repository. The contents of `deploy.sh` can be copied directly from the **Deploy Script** section of your Laravel Forge dashboard.
```yml
- name: Sync deploy script
uses: ryanito/sync-forge-deploy-script-action@v1
with:
api_key: ${{ secrets.FORGE_API_KEY }}
server_id: 1
site_id: 1
script_path: .forge/deploy.sh
```
## Inputs
### `api_key`
**Required** Your Laravel Forge API Key.
### `server_id`
**Required** Your Laravel Forge Server ID.
### `site_id`
**Required** Your Laravel Forge Site ID.
### `script_path`
**Required** The path to your deploy script.