Add Environment Sync guide section - #797
Open
bryantgillespie wants to merge 7 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
bryantgillespie
force-pushed
the
bry/cli-env-sync-docs
branch
from
August 4, 2026 15:54
becbdca to
5d9e6d9
Compare
JamesW1
reviewed
Aug 12, 2026
| - **Schema**: every collection, field, and relation, including custom fields on system collections. | ||
| - **Configuration**: roles, policies, access, permissions, flows, operations, dashboards, panels, settings, media-library folders, and custom Data Studio translation strings. | ||
| - **Opt-in**: user accounts, with every secret field stripped. | ||
|
|
Contributor
There was a problem hiding this comment.
Suggested change
| A pull writes all of this by default, and can be narrowed. `--collections posts` limits which Schema sync files it overwrites; resource flags like `--flows` or `--no-schema` select which Configuration files it touches. That is how you promote finished work from a shared development instance while unfinished work stays out of the sync files entirely — unlike a full snapshot, a pull is not all-or-nothing. Scope is by collection and resource type, not by individual record. See [Promote only the changes that are ready](/docs/guides/environment-sync/common-workflows#promote-only-the-changes-that-are-ready). |
Contributor
There was a problem hiding this comment.
I think we need to clarify it's not all or nothing here, given the importance of that capability
Contributor
There was a problem hiding this comment.
Feel free to make it less verbose than this though !
JamesW1
reviewed
Aug 12, 2026
| Notice what is not in it: the tokens. URLs are project configuration you commit; credentials go to `~/.directus/credentials.json`, readable only by you. Confirm both connections work: | ||
|
|
||
| ```bash | ||
| d6s profile test-connection source |
Contributor
There was a problem hiding this comment.
Has the test command changed? Previously it was just d6s profile test source
Contributor
There was a problem hiding this comment.
Ok ignore I can see it's updated 👍
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New
guides/environment-syncsection for the env-sync CLI (d6s): overview, installation and profiles, pulling, diffing and pushing, CI, secrets and limitations, and common workflows.Docs for an unreleased CLI; hold until it ships.