mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +00:00
again.
This commit is contained in:
parent
9a7395c688
commit
f8096f4c03
1 changed files with 4 additions and 0 deletions
|
@ -123,9 +123,13 @@ steps:
|
|||
# using https://github.com/pksunkara/cargo-workspaces
|
||||
- name: publish to crates.io
|
||||
image: rust:1
|
||||
environment:
|
||||
CARGO_TOKEN:
|
||||
from_secret: cargo_api_token
|
||||
commands:
|
||||
- cargo install cargo-workspaces
|
||||
- cp -r migrations crates/db_queries/
|
||||
- cargo login "${CARGO_TOKEN}"
|
||||
- cargo workspaces publish --from-git --allow-branch main --yes custom "${DRONE_TAG}"
|
||||
when:
|
||||
ref:
|
||||
|
|
Loading…
Reference in a new issue