Skip to content

Commit

Permalink
Fixing woodpecker secrets warning. (LemmyNet#5237)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines authored Nov 29, 2024
1 parent 3d7fbde commit e3fccb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .woodpecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,15 @@ steps:
# using https://github.com/pksunkara/cargo-workspaces
publish_to_crates_io:
image: *rust_image
environment:
CARGO_API_TOKEN:
from_secret: cargo_api_token
commands:
- *install_binstall
# Install cargo-workspaces
- cargo binstall -y cargo-workspaces
- cp -r migrations crates/db_schema/
- 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]
when:
- event: tag

Expand Down

0 comments on commit e3fccb3

Please sign in to comment.