R
Railway15mo ago
kstulgys

Multiple services found. Please specify a service to deploy to

These are my last lines of github action:
- name: Deploy
run: railway up
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
- name: Deploy
run: railway up
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
I recently introduced a new service (grafana) along side my nextjs app and when I deploy I get this error: Multiple services found. Please specify a service to deploy to How should I change railway up command so it deploys only my nextjs app?
3 Replies
Percy
Percy15mo ago
Project ID: cde0d308-239b-4559-a479-330eae8c0ef2
kstulgys
kstulgysOP15mo ago
project ID: cde0d308-239b-4559-a479-330eae8c0ef2
Brody
Brody15mo ago
add another variable to the repo's secrets named something like RAILWAY_SERVICE set it to the service id that you want, then add --service ${{ secrets.RAILWAY_SERVICE }} to the run command untested, so let me know if that works out
Want results from more Discord servers?
Add your server