Skip to content

Commit 40d47f8

Browse files
committed
Redeploy on push
1 parent c72144e commit 40d47f8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/redeploy.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 🚀 Redeploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
redeploy:
10+
runs-on: ubuntu-latest
11+
container: ghcr.io/railwayapp/cli:latest
12+
env:
13+
RAILWAY_TOKEN: ${{ secrets.RAILWAY_PROJECT_SECRET }}
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Deploy to Railway
19+
run: |
20+
railway redeploy --service ${{ secrets.RAILWAY_PROJECT_ID }}

0 commit comments

Comments
 (0)