tiltowait
tiltowait
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
It took a moment to figure out how to redeploy via image. I thought unlinking then re-linking would do it, but I had to click redeploy from the original docker deployment
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Yep, makes sense
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
No description
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
(In case it helps anyone else trying the same thing)
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Cool, thanks for the help. I'll let you know if it works
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Yeah, this is just the job. I cut out the rest of the workflow, which triggers on tag creation
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Sure. Will probably be a couple of days before my next deployment 👍
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
No description
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
deploy:
needs: build
runs-on: ubuntu-latest
container: ghcr.io/railwayapp/cli:latest
env:
SVC_ID: <blah>
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}

steps:
- name: Deploy new image
run: railway redeploy -y --service ${{ env.SVC_ID }}
deploy:
needs: build
runs-on: ubuntu-latest
container: ghcr.io/railwayapp/cli:latest
env:
SVC_ID: <blah>
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}

steps:
- name: Deploy new image
run: railway redeploy -y --service ${{ env.SVC_ID }}
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
the docker image for the cli
Do you mean my docker image, or is there a Railway image?
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Okay, wasn't sure if the service ID should be secret or not
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Would this be correct?
deploy:
needs: build
runs-on: ubuntu-latest

steps:
- name: Use Node 22
uses: action/setup-node@v4
with:
node-version: 22.x

- name: Install Railway
run: npm i -g @railway/cli

- name: Deploy
run: railway redeploy -y --service <service_id>
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
deploy:
needs: build
runs-on: ubuntu-latest

steps:
- name: Use Node 22
uses: action/setup-node@v4
with:
node-version: 22.x

- name: Install Railway
run: npm i -g @railway/cli

- name: Deploy
run: railway redeploy -y --service <service_id>
env:
RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Thanks. I’ll look into it!
44 replies
RRailway
Created by tiltowait on 10/19/2024 in #✋|help
Private networking - CORS?
It was my misunderstanding. I needed to disable CORS in local dev (allow my localhost, really). When I uploaded to railway, the page refused to render, citing mixed HTTP/HTTPS. I fixed that by using a reverse proxy and didn’t stop to think I was no longer doing a request from the browser in the first place 👍
13 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Thanks
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Ah, sure, I can do that
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Tbh that’s what I thought I was doing, or at least attempting
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Yes, but also updates latest
44 replies
RRailway
Created by tiltowait on 10/22/2024 in #✋|help
Deploy from connected image not triggering?
Yes
44 replies