Migrating to private preview apps
When preview apps first launched, every app had a publicly accessible URL. You can now configure your preview apps to be private.
Private preview apps require RWX authentication. To grant access to people outside your organization or to automated clients, see the docs on external access.
Migration
Organizations already using preview apps will continue to default to public access.
You can check and change your organization's Default preview app visibility on the Run defaults page.
This default applies to preview apps in new runs when app.public is not specified. Changing it leaves existing apps unchanged.
We recommend setting public: false on all of your existing preview apps and verifying they work as expected before switching your default visibility to private.
- key: my-preview
app:
endpoint: my-preview-${{ init.pr-number }}
port: 3000
public: false
run: npm run dev