Skip to content

Commit

Permalink
feat(readme): Document crates token steps
Browse files Browse the repository at this point in the history
  • Loading branch information
bengreenier committed Oct 29, 2021
1 parent 923cac6 commit 53c63f1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -12,6 +12,14 @@ What you get:

> First make sure you've done: `cargo install cargo-generate`.
### Prerequisites

For publishing to crates.io:

- Create an API access token [here](https://crates.io/me)
- Add it as a [GitHub repository secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) named `CARGO_REGISTRY_TOKEN`
- `.github/release.yml` will use this secret when publishing a release

### single-crate

> Use this template for single crate repositories.
Expand Down

0 comments on commit 53c63f1

Please sign in to comment.