Skip to content

Commit

Permalink
feat: add deployment error log command
Browse files Browse the repository at this point in the history
  • Loading branch information
riya09 committed Nov 3, 2024
1 parent 2b8df4f commit cce1bff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/core-to-railway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:

- name: Deploy
working-directory: ./apps/jonogon-core/
run: railway up --service jonogon-core
run: |
railway up --service jonogon-core > deploy.log 2>&1 || (echo "Deployment failed. Check the logs for details:" && cat deploy.log)
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_DEPLOY_TOKEN }}

0 comments on commit cce1bff

Please sign in to comment.