0

Un-official Github Action for Deployment to Railway

 1 year ago
source link: https://dev.to/berviantoleo/un-official-github-action-for-deployment-to-railway-4g83
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Un-official Github Action for Deployment to Railway

My Workflow

Submission Category:

DIY Deployments

Yaml File or Link to Code

GitHub logo bervProject / railway-deploy

Github Action to Deploy App to Railway using Railway CLI

Railway Deploy Github Action

This action deploys your app to Railway using Railway CLI.

Inputs

railway_token

Optional Railway Token to deploy the app.

Outputs

status

Success/Failure result

Example usage

Using with

uses: bervProject/[email protected]
with:
  railway_token: ${ secret.RAILWAY_TOKEN }
Enter fullscreen modeExit fullscreen mode

Using env

uses: bervProject/[email protected]
env:
  RAILWAY_TOKEN: ${ secret.RAILWAY_TOKEN }
Enter fullscreen modeExit fullscreen mode

Additional Resources / Info

Example project that implement the bervproject/railway-deploy:

GitHub logo bervProject / MyPersonalWebAPI

Personal Web API using FeathersJS

MyPersonalWebAPI

Web API for Bervianto's Web

Build Status

Codacy Travis

Notes (Requirement for Development or Production)

  • Using Dockerfile or Docker Compose

Please rename .env.example into .env and update secret keys

  • Using Heroku

Update environment or config, using secret and production as keys and insert your value.

About

This project uses Feathers. An open source web framework for building modern real-time applications.

Changelog

Changelog here

License

Copyright (c) 2018

Licensed under the MIT license.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK