ryanlieu
PROOP
9 months ago
Hey! I'm using this github action to stand up my preview environments: https://github.com/Faolain/railway-pr-deploy, but I noticed that the new environments aren't pulling from the specified branch, they're instead pulling from main.
I noticed in the output of the action that deploymentTriggers and serviceTriggers are empty when they didn't use to be:
After issue
` deploymentTriggers: { edges: [] }, serviceInstances: { edges: [] }
Before issue
deploymentTriggers: {
edges: [
{
node: {
id: '5b436561-4bcc-4be1-85f4-c2841509beeb',
environmentId: 'db659a3f-d679-41ba-97e0-d17703c91255',
branch: 'main',
projectId: '***'
}
},
{
node: {
id: 'a9376c3e-18d3-4afd-827e-e52bde5d1c98',
environmentId: 'db659a3f-d679-41ba-97e0-d17703c91255',
branch: 'main',
projectId: '***'
}
}
]
},
serviceInstances: {
edges: [
{
node: {
id: '95e40bbd-a048-4454-888a-50fbb3919434',
domains: {
serviceDomains: [
{
domain: 'node-pr-28-rlieulabs-392.up.railway.app',
id: '4891eac5-547f-47b4-b7b2-9890fa4ff8b8'
}
]
},
serviceId: '929a4776-c286-4f9f-9269-35f7885a9e81'
}
},
{
node: {
id: 'f468cb94-a0d7-4b82-b547-3729dbd0a4de',
domains: {
serviceDomains: [
{
domain: 'python-pr-28-rlieulabs-392.up.railway.app',
id: '3a614d4b-c334-4999-ac0c-5e94d63ccb5d'
}
]
},
serviceId: 'f6bc912e-08ed-4bdf-bd3f-3ed778bac20c'
}
}
]
}0 Replies