Deploying from Deleted Repository
vin
PROOP

2 years ago

When starting a new project, naturally we create a new repository on GitHub, we make our code changes, do our tests, and then deploy the repository to Railway, either through CLI or from a Repository deployment. If you link the repository to the service, and then delete that repository from your account on GitHub, this is perfectly fine.

If you create a repository with the same name, commit and push new code, this new code repository will deploy to any existing service that is currently linked to that repository name. This behaviour shouldn't be. When I delete the GitHub repository, it should automatically destroy any link that is connected on Railway, in case of project shifts, where the name might be the same, but the codebase is completely different.

1 Replies

vin
PROOP

2 years ago

Cross-posted to #feedback on Discord. Discord Thread


Loading...