Skip to content

Commit ffea2c9

Browse files
authored
Fix redeploy. (#123)
1 parent 438f581 commit ffea2c9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ jobs:
146146
# REGISTRY_SSH_KEY_FILE="/secrets/ssh-key"
147147
# REGISTRY_URL="github.com/toitware/registry"
148148
run: |
149-
railway link --project $RAILWAY_PROJECT_ID --service $RAILWAY_DEV_SERVICE_ID
150-
railway redeploy -y
149+
railway redeploy -y --service $RAILWAY_DEV_SERVICE_ID
151150
152151
- name: Deploy pkg.toit.io
153152
if: github.event.inputs.redeploy == 'true' || github.event_name == 'release'
@@ -161,5 +160,4 @@ jobs:
161160
# REGISTRY_SSH_KEY_FILE="/secrets/ssh-key"
162161
# REGISTRY_URL="github.com/toitware/registry"
163162
run: |
164-
railway link --project $RAILWAY_PROJECT_ID --service $RAILWAY_SERVICE_ID
165-
railway redeploy -y
163+
railway redeploy -y --service $RAILWAY_SERVICE_ID

0 commit comments

Comments
 (0)