Skip to content

Merge pull request #5 from SPotes22/owasp_version #46

Merge pull request #5 from SPotes22/owasp_version

Merge pull request #5 from SPotes22/owasp_version #46

Workflow file for this run

name: Deploy to Railway
on:
push:
branches:
- main # Cambia si tu branch de producción es otra
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13' # Usa la misma versión que en Railway
- name: Install Railway CLI
run: npm install -g @railway/cli
- name: Deploy to Railway
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
run: railway up --service PiChat --detach