Skip to content

Commit

Permalink
add railway deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed Aug 31, 2024
1 parent 73c83fb commit 4a64903
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy to Railway

on:
push:
branches: [main]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Use Node
uses: actions/setup-node@v2
with:
node-version: 20.x

- name: Install packages
run: pnpm install

- name: Install Railway
run: pnpm i -g @railway/cli

- name: Deploy
run: railway up
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}

0 comments on commit 4a64903

Please sign in to comment.