Skip to content

Add to docs? Put secrets in Connect Cloud UI #278

Description

@virginiascarlett

What would you like to do?

Report an issue on surveydown.org

Description

Hi again,

I deployed my surveydown survey locally, with the db connection, and it worked. Then I deployed to Connect Cloud, and found an extra step was needed to get the survey responses to actually appear in supabase. I had to enter my db configuration-related environment variables into the Connect Cloud UI. Then it worked!
Here's what I did:
Log in to Posit Connect Cloud > Click on the "Settings" gear next to the deployed survey > Variables > Add all six variables in my local .env file as key-value pairs (e.g., Key: SD_HOST, Value: my-supabase-url.pooler.supabase.com).
I was thinking this might be worth adding to the "Deployment" documentation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions