Skip to content

Commit

Permalink
fix: document Secrets.toml location (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaro00 authored Oct 10, 2024
1 parent dbce415 commit 4448bc5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions introduction/platform-migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ If you want the deploy command to keep blocking dirty deployments, add the `depl

If your project uses static assets at runtime, you need to declare them in `build.assets` to have them copied from the builder to the runtime image ([docs](/docs/files#build-assets)).

### Secrets.toml

Secrets.toml must now be in the root of the cargo workspace, so move it there if it is in a member crate.

`--secrets <file>` on the deploy command can still be used for a custom secrets file location.

## 5. Local Run

Check that your project builds and runs locally with
Expand Down
3 changes: 3 additions & 0 deletions introduction/platform-update.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ icon: layer-group

Introducing the new Shuttle platform! We've supercharged what developers love about Shuttle, combining our powerful developer experience with enterprise-grade infrastructure. For developers, we've kept it simple and intuitive - no complex configs, just focus on your Rust code. On the production side, we've implemented VM-level isolation, increased reliability and scalability to meet real-world demands. From solo developers to enterprise teams, Shuttle now offers the perfect blend of ease and production-ready robustness.

[*Read the full announcement here!*](https://www.shuttle.dev/blog/2024/10/10/shuttle-redefining-backend-development)

{/* ## Q&A
- When is the old platform shutting down?
Expand Down Expand Up @@ -45,6 +47,7 @@ Introducing the new Shuttle platform! We've supercharged what developers love ab
- `project status`: projects no longer have a state, so `--follow` has no effect.
- `project link`: explicitly re-link the project directory to a Shuttle project. (more below)
- Max archive size for deployments is now 100 MB (up from 50MB).
- Secrets.toml must now be in the root of the cargo workspace (`--secrets <file>` can still be used for a custom location).
- Shuttle.toml:
- Renamed the `assets` field to `deploy.include` ([read more](/docs/files#include-ignored-files)).
- For static files to move from the build stage to the runtime container, you must specify `build.assets` ([read more](/docs/files#build-assets)).
Expand Down

0 comments on commit 4448bc5

Please sign in to comment.