Hey,
For our preview environments, we need to set a deterministic domain for our backends.
To do this until today, we were running the following command:
koyeb app update preview-${{ env.APP_NAME }} --domain ${{ env.companyName}}-${{ env.APP_NAME }}
This was working fine, until today: we now systematically get the following error message:
❌ Error while renaming the automatic domain for `preview-pr-1119` to "<company>-pr-1119": the Koyeb API returned an error 400: Cannot change app_id for autoassigned domains
Note: this is only happening using the CLI, using the dashboard works fine (as described in How can I change the default domain name? ), but we need to use the CLI in our CI.
Notes:
- We install the latest CLI using the
koyeb-community/koyeb-actions@v2
Github Action - The previous step (deploying the application using another Github Action) works fine
Thanks in advance for any help!