Closed coolaj86 closed 6 months ago
It actually is git related, we use git to check the branch name to ensure we're either on the correct named branch or a different one. If it can't find a named branch it will fail (-f should now resolve it)
This is to ensure we don't deploy a testnet branch of deploy tool to a devnet and vice versa
What are the valid branch name options?
I thought I had tried creating a devnet-ajnet
branch. Maybe not. I didn't connect it to a repo though, it's just local.
Must it have a remote to be valid?
Seems it must! I just tested and replicated that as well, at least you can bypass this with a -f once my PR goes in (or fork the repo to create new branches)
Closing as we fixed in latest
I've set up a new AWS account with Access Keys (because I don't understand the new profile / role model yet), a delegated domain, bucket, dynamo table, and everything else that I thought I'd need to deploy this from a new container, but it failed right away with a git error.
Expected
I don't know. Definitely not a git-related error.
Perhaps an error message directing me towards some bad config or account not set up correctly.
Actual Result
How to Reproduce