https://github.com/bervproject/railway-deploy
Github Action to Deploy App to Railway using Railway CLI
https://github.com/bervproject/railway-deploy
Last synced: 5 months ago
JSON representation
Github Action to Deploy App to Railway using Railway CLI
- Host: GitHub
- URL: https://github.com/bervproject/railway-deploy
- Owner: bervProject
- License: mit
- Created: 2021-11-20T03:22:15.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-08-18T09:52:52.000Z (7 months ago)
- Last Synced: 2025-09-20T06:26:17.810Z (6 months ago)
- Language: Dockerfile
- Size: 43 KB
- Stars: 23
- Watchers: 4
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Railway Deploy Github Action
This action deploys your app to Railway using Railway CLI.
## Inputs
| Name | Required | Description |
|:---------------:|:--------:|:------------------------------------------------------------------------------------------------:|
| `service` | `true` | Specify the service to use. Introduced from `0.1.0`. |
| `detach` | `false` | Allow detaching (not waiting) the deployment process from the pipeline. Introduced from `0.1.2`. |
## Outputs
### `status`
Success/Failure result
## Example usage
### Using env
```yaml
uses: bervProject/railway-deploy@main
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
with:
service: "my-service"
```
### Detach Mode
```yaml
uses: bervProject/railway-deploy@main
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
with:
service: "my-service"
detach: true
```
## Notes for Raising Bugs/Issues
1. Please create an issue or discussion with general or detailed questions/issues (never expose confidential things).
2. If you want to share some private/confidential logs, you may send those to my email. Please mention the link to the issue or discussion.
I'm sorry that I prefer to log the issue in the repository because I may lose track if you email the issue directly to my email. I appreciate your cooperation.