Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/the-basics/secrets.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
fly secrets set SECRET_KEY=YOURSECRETKEYGOESHERE
```

Or you can import your dotenv file wholesale using [fly secrets import](https://fly.io/docs/flyctl/secrets-import/):

Check warning on line 20 in js/the-basics/secrets.html.md

View workflow job for this annotation

GitHub Actions / Vale linter

[vale] reported by reviewdog 🐶 [Fly.Spelling] Is 'dotenv' a typo? Raw Output: {"message": "[Fly.Spelling] Is 'dotenv' a typo?", "location": {"path": "js/the-basics/secrets.html.md", "range": {"start": {"line": 20, "column": 24}}}, "severity": "INFO"}

```
fly secrets import < .dotenv
cat .dotenv | fly secrets import
```

Both commands will restart your application if it has previously been deployed. Pass the `--stage` option if you would rather deploy these changes later.
Expand Down
Loading