From f8096f4c03f694102fb84a349e6da03e27f721b4 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 25 Aug 2021 10:12:41 -0400 Subject: [PATCH] again. --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index 96a55622f..489f87bbb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: