Skip to content

Commit 5b4bbae

Browse files
committed
hotfix: excluir carpeta duplicada y añadir configs de deploy
1 parent 50c435b commit 5b4bbae

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,8 @@ Thumbs.db
5656
bandit-report.json
5757
safety-report.json
5858
.env.local
59+
NeuroBank-FastAPI-Toolkit-1
60+
61+
NeuroBank-FastAPI-Toolkit-1
62+
63+
NeuroBank-FastAPI-Toolkit-1

deploy-staging-railway.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy Staging (Railway)
2+
3+
on:
4+
push:
5+
branches: [ "main", "develop" ]
6+
7+
concurrency:
8+
group: staging-railway
9+
cancel-in-progress: true
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
env:
15+
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
16+
steps:
17+
- name: 📥 Checkout repository
18+
uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
21+
submodules: false
22+
persist-credentials: false
23+
24+
- name: ⚙️ Install Railway CLI
25+
run: |
26+
npm install -g @railway/cli
27+
28+
- name: 🚀 Deploy to Railway
29+
run: |
30+
echo "Deploying to Railway Staging..."
31+
railway up --service neurobank-fastapi --yes
32+

0 commit comments

Comments
 (0)