From 587497aba5669287bb80f7da8ae6c022127d3c23 Mon Sep 17 00:00:00 2001 From: itzaname Date: Tue, 10 Aug 2021 21:39:41 -0400 Subject: [PATCH] Provide secret --- .drone.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d7f8a5b..56fbfe4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,8 +17,13 @@ steps: - name: artifacts image: curlimages/curl:7.78.0 + environment: + NEXUS_USER: + from_secret: NEXUS_USER + NEXUS_PASSWORD: + from_secret: NEXUS_PASSWORD commands: - - curl --upload-file rbxcompiler https://nexus.itzana.me/repository/public/artifacts/itzaname/rbxcompiler-amd64-linux + - curl -u $${NEXUS_USER}:$${NEXUS_PASSWORD} --upload-file rbxcompiler https://nexus.itzana.me/repository/public/artifacts/itzaname/rbxcompiler-amd64-linux - name: docker image: plugins/docker:19