We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d7fbde commit e3fccb3Copy full SHA for e3fccb3
.woodpecker.yml
@@ -280,13 +280,15 @@ steps:
280
# using https://github.com/pksunkara/cargo-workspaces
281
publish_to_crates_io:
282
image: *rust_image
283
+ environment:
284
+ CARGO_API_TOKEN:
285
+ from_secret: cargo_api_token
286
commands:
287
- *install_binstall
288
# Install cargo-workspaces
289
- cargo binstall -y cargo-workspaces
290
- cp -r migrations crates/db_schema/
291
- cargo workspaces publish --token "$CARGO_API_TOKEN" --from-git --allow-dirty --no-verify --allow-branch "${CI_COMMIT_TAG}" --yes custom "${CI_COMMIT_TAG}"
- secrets: [cargo_api_token]
292
when:
293
- event: tag
294
0 commit comments