NeonN
Neon2y ago
4 replies
living-lavender

Incorrect db_url after using github action create-branch-action

I'm leveraging the neondatabase/create-branch-action@v4 github action (https://github.com/neondatabase/create-branch-action).

After creating the branch, I try to get the database URL with the command

echo "NEON_DATABASE_URL=${{ steps.create-feature-branch.outputs.db_url }}" >> $GITHUB_ENV;

However, the URL contains the database neondb instead of my actual database name. The db_url should contain the name of the database i'm actually branching from

https://github.com/neondatabase/create-branch-action/issues/50
GitHub
Steps to reproduce use neondatabase/create-branch-action@v4 to create a new branch specify project_id, username, branch_name, and api_key parameters echo db_url output echo "NEON_DATABASE_URL=...
DB URL does not contain the current database name · Issue #50 · neo...
Was this page helpful?