mirror of https://github.com/LemmyNet/lemmy.git
again.
parent
9a7395c688
commit
f8096f4c03
|
@ -123,9 +123,13 @@ steps:
|
||||||
# using https://github.com/pksunkara/cargo-workspaces
|
# using https://github.com/pksunkara/cargo-workspaces
|
||||||
- name: publish to crates.io
|
- name: publish to crates.io
|
||||||
image: rust:1
|
image: rust:1
|
||||||
|
environment:
|
||||||
|
CARGO_TOKEN:
|
||||||
|
from_secret: cargo_api_token
|
||||||
commands:
|
commands:
|
||||||
- cargo install cargo-workspaces
|
- cargo install cargo-workspaces
|
||||||
- cp -r migrations crates/db_queries/
|
- cp -r migrations crates/db_queries/
|
||||||
|
- cargo login "${CARGO_TOKEN}"
|
||||||
- cargo workspaces publish --from-git --allow-branch main --yes custom "${DRONE_TAG}"
|
- cargo workspaces publish --from-git --allow-branch main --yes custom "${DRONE_TAG}"
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
|
|
Loading…
Reference in New Issue